Top "Python-imaging-library" questions

The Python Imaging Library (PIL) provides the Python language with a de-facto standard foundation for image work.

Upload resized image to S3

I'm trying to upload resized image to S3: fp = urllib.urlopen('http:/example.com/test.png') img = cStringIO.StringIO(fp.…

python amazon-s3 python-imaging-library boto
With Python`s PIL, how to set DPI before loading an image?

I was trying to use PIL to open an (Illustrator) .eps-file, do some changes and save it. I want to …

python image-processing python-imaging-library pythonmagick
Reading tiff image metadata in Python

How can I read metada, like coordinates, from a TIFF image in Python? I tried foo._getexif() from PIL, but …

python python-imaging-library tiff
Python PIL ImageTk.PhotoImage() is giving me a bus error?

So I am running python 2.6 on a macbook pro and trying to write the code in python to display an …

python image python-imaging-library bus
Python/PIL affine transformation

This is a basic transform question in PIL. I've tried at least a couple of times in the past few …

python matlab python-imaging-library transformation pillow
PIL Image ImportError

I have Pillow and qrcode modules installed in a virtual environment. From the python shell, I can create a test …

python python-imaging-library virtualenvwrapper pillow
Python - find out how much of an image is black

I am downloading satellite pictures like this (source: u0553130 at home.chpc.utah.edu) Since some images are mostly black, …

python python-imaging-library satellite
How to I use PIL Image.point(table) method to apply a threshold to a 256 gray image?

I have 8-bit greyscale TIFF images that I want to convert to Monochrome using a 75% white (decimal 190) threshold. In the …

python python-imaging-library threshold
Resize image in Python without losing EXIF data

I need to resize jpg images with Python without losing the original image's EXIF data (metadata about date taken, camera …

python image-processing python-imaging-library exif
Pillow: libopenjp2.so.7: cannot open shared object file: No such file or directory

I have a fresh, minimal Raspbian Stretch install. I have installed the PIXEL-dekstop by running sudo apt-get install --no-install-recommends xserver-xorg …

python python-imaging-library raspbian pillow