Top "Python-imaging-library" questions

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

Installing PIL with pip

I am trying to install PIL (the Python Imaging Library) using the command: sudo pip install pil but I get …

python python-2.7 installation pip python-imaging-library
How do I resize an image using PIL and maintain its aspect ratio?

Is there an obvious way to do this that I'm missing? I'm just trying to make thumbnails.

python image python-imaging-library thumbnails
ImportError: No module named PIL

I use this command in the shell to install PIL: easy_install PIL then I run python and type this: …

python python-imaging-library easy-install
How to convert a PIL Image into a numpy array?

Alright, I'm toying around with converting a PIL image object back and forth to a numpy array so I can …

python image numpy python-imaging-library numpy-ndarray
How do I get the picture size with PIL?

How do I get a size of a pictures sides with PIL or any other Python library?

python python-imaging-library image
How can I save an image with PIL?

I have just done some image processing using the Python image library (PIL) using a post I found earlier to …

python save python-imaging-library
How do I read image data from a URL in Python?

What I'm trying to do is fairly simple when we're dealing with a local file, but the problem comes when …

python python-imaging-library
How to convert a NumPy array to PIL image applying matplotlib colormap

I have a simple problem, but I cannot find a good solution to it. I want to take a NumPy 2…

python numpy matplotlib python-imaging-library color-mapping
ImportError: No module named Image

I have also tried from PIL import Image but it gives me ImportError: No module named PIL. I have installed …

python macos python-imaging-library
scipy.misc module has no attribute imread?

I am trying to read an image with scipy. However it does not accept the scipy.misc.imread part. What …

python installation scipy dependencies python-imaging-library