[SciPy-User] FreeImage <-> numpy IO wrappers
Zachary Pincus
zachary.pincus at yale.edu
Wed May 12 17:16:11 EDT 2010
Hi all,
> I'm definitely interested, having had several nightmarish attempts at
> making PIL play nice with my 16-bit TIFF data. I don't have a ton of
> spare time myself right now, but I'd like to give it a shot.
Wrappers attached. Currently, they try to load "FreeImage.[dll|dylib|
so]" (depending on the platform) from the same directory as the
module. This is of course easy to change.
The rest is basically straightforward and at least partially
documented. Let me know how it works out.
Note that right now there's no support for palettized images, though
that could be added too. And as for license, assume this code, such as
it is, is BSD.
Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.py
Type: text/x-python-script
Size: 10285 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20100512/ef56b5a6/attachment.bin>
-------------- next part --------------
More information about the SciPy-User
mailing list