Questions tagged [python-imaging-library]

Filter by
Sorted by
Tagged with
0
votes
1answer
249 views

Creating Multiple Multi-Band Images in Python

I am trying to create multiple multi-band images based off of Landsat data in Python. I am using PIL for this. How do I use PIL to create multiple multi-band images at the same time? Here is the code:...
1
vote
1answer
9k views

Opening TIFF image in PIL (Python)?

I'm new to Python and trying to work with TIFF images using the following code: from PIL import Image import numpy im = Image.open('LakeEx.tif') imarray = numpy.array(im) imarray.shape im.show()...
4
votes
1answer
6k views

Merge RGB band using python

I need to merge the RGB bands of three TIFF images. I'm trying to use a PIL library (Python Imaging Library), but this execution error happens: Traceback (most recent call last): File "merge.py", ...