Top "Python-imaging-library" questions

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

Convert an image RGB->Lab with python

What is the preferred way of doing the conversion using PIL/Numpy/SciPy today?

python numpy scipy python-imaging-library color-space
Getting "cannot write mode P as JPEG" while operating on JPG image

I am trying to resize some images, most of which are JPG. But in a few images, I am getting …

python macos python-imaging-library pillow
How to CREATE a transparent gif (or png) with PIL (python-imaging)

Trying to create a transparent gif with PIL. So far I have this: from PIL import Image img = Image.new(…

python python-imaging-library transparency gif imaging
The problem with installing PIL using virtualenv or buildout

When I install PIL using easy_install or buildout it installs in such way, that I must do 'import Image', …

python python-imaging-library easy-install buildout pip
How to integrate SimpleGUI with Python 2.7 and 3.0 shell

I am learning Python from Coursera. In this course they use SimpleGUI module on CodeSkulptor. Can anyone tell me how …

python python-2.7 python-3.x python-imaging-library codeskulptor
How to convert PIL Image.image object to base64 string?

I am trying to manipulate a base64 encoded image in such a way as to rotate it at 90 angle. After …

python python-imaging-library
How to send image generated by PIL to browser?

I'm using flask for my application. I'd like to send an image (dynamically generated by PIL) to client without saving …

python streaming python-imaging-library flask temporary-files
Converting a PDF to a series of images with Python

I'm attempting to use Python to convert a multi-page PDF into a series of JPEGs. I can split the PDF …

python pdf imagemagick jpeg python-imaging-library
Automatically cropping an image with python/PIL

Can anyone help me figure out what's happening in my image auto-cropping script? I have a png image with a …

python image image-processing python-imaging-library crop
How to open PIL Image in Tkinter on Canvas

I can't seem to get my PIL Image to work on canvas. Code: from Tkinter import* import Image, ImageTk root = …

python tkinter python-imaging-library tkinter-canvas