Top "Python-imaging-library" questions

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

IOError: "decoder zip not available" using matplotlib PNG in ReportLab on Linux, works on Windows

I'm using ReportLab to print a chart produced by matplotlib. I'm able to do this on my Windows development machine …

python png python-imaging-library reportlab
PyDICOM can't read pixel data and needs GDCM or Pillow

I'm using pydicom and my code is pretty straightforward: image = np.stack([s.pixel_array for s in scans]) But …

python python-imaging-library pydicom gdcm
What is the best way to save image metadata alongside a tif?

In my work as a grad student, I capture microscope images and use python to save them as raw tif's. …

python python-imaging-library tiff
Python Tkinter Treeview add an image as a column value

i'm trying to add an Image to the first column of every row on a treeview, but no matter what …

python tkinter treeview python-imaging-library photoimage
Colorize image while preserving transparency with PIL?

Okay, here's the situation: I want to use the Python Image Library to "theme" an image like this: Theme color: "#33…

python image transparency python-imaging-library colorize
How to blur non-rectangular or circular area of image with Python PIL?

Using PIL in Python, I am superimposing a PNG image on top of another, larger image. The smaller image is …

python python-imaging-library imagefilter
How to define radius for blur with Python Pillow?

I'm trying to blur an image with Pillow, using the ImageFilter as follows: from PIL import ImageFilter blurred_image = im.…

python image python-imaging-library pillow gaussianblur
How to Improve OCR on image with text in different colors and fonts?

I'm using the Google Vision API to extract the text from some pictures, however, I have been trying to improve …

python python-imaging-library ocr google-vision
Convert PILLOW image into StringIO

I'm writing a program which can receive images in a variety of common image formats but needs to examine them …

python python-imaging-library python-2.x stringio
Drawing an anti-aliased line with thePython Imaging Library

I'm drawing a bunch of lines with the Python Imaging Library's ImageDraw.line(), but they look horrid since I can't …

python image graphics python-imaging-library antialiasing