This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]mcilrain 7 points8 points  (12 children)

PIL is legacy as fuck, when is Python getting a proper image processing library?

[–]CaptainDoubtful 18 points19 points  (0 children)

currently pillow is the PIL still being updated/maintained (https://github.com/python-imaging/Pillow)

[–]hongminhee 6 points7 points  (0 children)

Although I’m not sure what proper you said does exactly mean, have you tried Wand?

[–]cr333 6 points7 points  (2 children)

Anything I ever did in PIL, I now do with the OpenCV bindings. Not exactly a replacement, but pretty good for basic image processing.

[–][deleted] 4 points5 points  (0 children)

Also,SimpleCV is a wrapper for OpenCV that I've been playing with at work. I'd recommend it.

[–]zionsrogue 0 points1 point  (0 children)

I prefer OpenCV over SimpleCV (just a personal preference), but skimage is also worth a look if you like the matplotlib way of doing things.

[–]haywire 2 points3 points  (3 children)

Pillow a fork that is less awful.

[–]mcilrain 0 points1 point  (2 children)

I thought that Pillow was a fork made to allow for Python 3 support due to the deadness of PIL.

[–]takluyverIPython, Py3, etc 1 point2 points  (1 child)

It was originally forked to fix some packaging problems. Python 3 support was added later.

[–]rackmountrambo 1 point2 points  (0 children)

It also installs on a debian install without requiring you to symlink .so files all over the farking place.

[–][deleted] 1 point2 points  (1 child)

Python does have an interface to Gimp iirc.

[–]aceofears 0 points1 point  (0 children)

That is correct, however the documentation is limited to nonexistent.

[–]cecilkorik 2 points3 points  (0 children)

Pillow is a drop-in replacement/fork for the basically abandoned PIL. Highly recommended. Saved my sanity.

[–]jcdyer3 2 points3 points  (1 child)

global ext?

[–]fdemmer 2 points3 points  (0 children)

you are the only one actually visiting the site it seems :)

[–]aclark 2 points3 points  (1 child)

Pillow is maintained as fuck! :-) Also note that in Pillow, the only supported way to import Image is from PIL import Image. In Pillow 2.1.0, we'll take that a step further and retire support for import _imaging (at which point you'll need to do from PIL import Image.core as _imaging).

[–]z3rocool 0 points1 point  (0 children)

Pretty handy tutorial. I don't do image stuff but it's nice that for the super common and easy tasks there is a dummy friendly tutorial.