5 ms·
An article posted 7th Nov 2013 should not be recommending use of PIL (a dead project) over Pillow, imo. The only reference to Pillow in the article is a link at
by AbsoluteDestiny 13y ago
An article posted 7th Nov 2013 should not be recommending use of PIL (a dead project) over Pillow, imo. The only reference to Pillow in the article is a link at the bottom to the Pillow tutorial.
- temuze 13y agoUpvote for Pillow. For those of you who don't know, Pillow is a fork of PIL that is: - Pip/setuptools compatible - Python 3 compatible - Has more regular releases. This is a great example of what to do when an open source project is getting behind on the times. PIL was having bi-year releases and installation was a headache, so someone forked it and made it better.
- wiredfool 13y agoI'm a maintainer for pillow. Feel free to ask any questions. (I'm not sure PIL is a dead project. It's just resting. Beautiful plumage through)
- chrismmccomas 13y agoI know Django isn't end all, be all, but with them moving forward towards 1.8 where PIL will be completely depreciated, that's really the first nail in the coffin for PIL.
- wiredfool 13y agoIt's also filtering into the distro packaging -- I think it's in debian unstable, ubuntu as of raring, and fedora ~19.
- frewsxcv 13y agoIs it planned for Pillow to support RAW formats?
- wiredfool 13y agoNo one's asked for it that I've heard, so it's not in the plans. I'd consider adding DNG if there's a good external library. The individual camera raws, that's more of a thankless task with how fast they change/multiply.
- fsckin 13y agoNot directed at you, but why do camera makers continue to reinvent RAW formats for new models? Isn't this a 'solved' problem with Adobe's DNG being royalty free and all? When I got a D800 around launch time, even Lightroom didn't have the capability to import them directly at launch and I had to convert them to DNGs first. What a bloddy mess.
- wiredfool 13y agoThere are many rants about that. It's not so much that the formats change, it's that they keep adding tags that mean something within the formats. Oddly enough, of the ones that I've looked at, they can (generally) be interpreted as a tiff file if you squint at them correctly. (not that a tiff file is any better. It's not called Thousands of Incompatible File Formats for nothing). But once you have that file format, camera manufacturers tend to embed hunks of data in the raw file about settings and other things that the camera knows about the image, like the focus points, white balance, camera calibration, image compression, dot layout and all that. I'd like to leave that as Someone Else's Problem. (unless there's a lot of money and shiny cameras in it for me)
- e12e 13y agoWouldn't libraw and/or freeimage be a good fit (both for raw and dng)? http://www.libraw.org/ http://www.libraw.org/ http://freeimage.sourceforge.net/ http://freeimage.sourceforge.net/
- wiredfool 13y agoI just found libraw yesterday. Looks interesting, and I have no objection to pulling it in as an optional dependency. Pull requests accepted. :> Freeimage looks like more than we'd need, and includes libraw. And actually, looks like it does a lot of the same things that Pillow does, wrt to various image formats.
- holyjaw 13y agoI tried to install PIL the other day via `pip` I believe, and a warning appeared basically saying PIL is not being maintained (is dead), use an alternative.
- stevejohnson 13y agoPIL has never worked with pip, but you can still install it using the instructions on their web site. pillow works fine with pip.
- truncate 13y agoI'm curious what problems you faced with PIL on Pip. I never tried installing it before today at work on Travis using Pip. Despite of all system libraries (jpeg-dev, zlib-dev) installed it would complain about libraries not being present and compiled without png/jpeg... support.
- uolot 13y agoIf you're on Ubuntu, running "apt-get build-dep python-imaging" should fix those problems (or it did for me in the past).
- agumonkey 13y agourl : https://pypi.python.org/pypi/Pillow/1.7.8 https://pypi.python.org/pypi/Pillow/1.7.8
- wiredfool 13y agoEven better: https://pypi.python.org/pypi/Pillow/2.2.1 https://pypi.python.org/pypi/Pillow/2.2.1 (though, it doesn't support py<=2.5)
- aelaguiz 13y agoThanks for this. I've been using PIL forever, didn't know there was a live fork.
- stevejohnson 13y agoHere's the documentation for pillow. There are quite a few new features and supported formats. http://pillow.readthedocs.org/en/latest/ http://pillow.readthedocs.org/en/latest/ It's amusing to me that he ignores pillow for the whole piece and then links to the tutorial I ported to the pillow docs from the PIL handbook just a few weeks ago.