Top "Python-imaging-library" questions

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

Installing Python Imaging Library (PIL) on Snow Leopard with updated Python 2.6.2

I have a fresh install (started with a wiped drive) of Snow Leopard with the developer tools installed during the …

python osx-snow-leopard python-imaging-library
Can you "stream" images to ffmpeg to construct a video, instead of saving them to disk?

My work recently involves programmatically making videos. In python, the typical workflow looks something like this: import subprocess, Image, ImageDraw …

python image stream ffmpeg python-imaging-library
Trim whitespace using PIL

Is there a simple solution to trim whitespace on the image in PIL? ImageMagick has easy support for it in …

python imagemagick python-imaging-library
How does perspective transformation work in PIL?

PIL's Image.transform has a perspective-mode which requires an 8-tuple of data but I can't figure out how to convert …

python python-imaging-library perspective
PIL and vectorbased graphics

I run into several problems when I try to open EPS- or SVG-Images with PIL. Opening EPS from PIL import …

python svg python-imaging-library vector-graphics eps
How do you convert a PIL `Image` to a Django `File`?

I'm trying to convert an UploadedFile to a PIL Image object to thumbnail it, and then convert the PIL Image …

python django python-imaging-library django-file-upload django-uploads
Why am I getting tile cannot extend outside image error when trying to split image in half

My program is supposed to take an image and split it vertically into n sections, then save the sections as …

python image python-imaging-library crop
Cutting one image into multiple images using the Python Image Library

I need to cut this image into three parts using PIL and pick the middle part. How do I do …

python image-manipulation python-imaging-library image-segmentation
How to convert RGB PIL image to numpy array with 3 channels?

I am loading image with the following code image = PIL.Image.open(file_path) image = np.array(image) It works, …

python numpy python-imaging-library rgb
How do you draw transparent polygons with Python?

I'm using PIL (Python Imaging Library). I'd like to draw transparent polygons. It seems that specifying a fill color that …

python-imaging-library polygon alpha