Live data from Hacker News

How to use the Python Imaging Library

pythonforbeginners.com

31–34 of 34 posts

Re: How to use the Python Imaging Library

#31
post #30

Earlier quoted context omitted.

There 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,…

Wouldn't libraw and/or freeimage be a good fit (both for raw and dng)? http://www.libraw.org/ http://freeimage.sourceforge.net/

I 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.

Re: How to use the Python Imaging Library

#32
post #29

Earlier quoted context omitted.

No 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.

> I'd consider adding DNG if there's a good external library. Can you guys just call OS libraries? There are RAW librarys available for Windows and OS X. A thin wrapper would be nice. I really hate to compile >20MB external shared libraries myself.

I'd prefer one library that works across all three major platforms, but if someone wants to send a pull request to add os dependent ones, I'd check those out.

Re: How to use the Python Imaging Library

#33
post #30

Earlier quoted context omitted.

Wouldn't libraw and/or freeimage be a good fit (both for raw and dng)? http://www.libraw.org/ http://freeimage.sourceforge.net/

I 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.

I make no promises :-/

Surprised you weren't aware of libraw (assuming DNG/RAW has been a requested feature for Pillow) -- but great it's on your radar now. FWIW libraw does an excellent job of handling RAW/DNGs -- as far as I know it's still the best tool for that (including various closed tools).

Re: How to use the Python Imaging Library

#34
post #33

Earlier quoted context omitted.

I 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.

I make no promises :-/ Surprised you weren't aware of libraw (assuming DNG/RAW has been a requested feature for Pillow) -- but great it's on your radar now. FWIW libraw does an excellent job of handling RAW/DNGs -- as far as I know it's still the best tool for that (including various closed tools).

So far, this thread is the extent of the requests.

I'd known about dcraw from a ways back, just not the libraw fork.

Post reply on HN