[SciPy-User] FreeImage <-> numpy IO wrappers

Robin M Baur rmb62 at cornell.edu
Wed May 12 13:38:53 EDT 2010


On Wed, May 12, 2010 at 01:56, Zachary Pincus <zachary.pincus at yale.edu> wrote:
[snip]

> The wrapper code is pretty compact and straightforward, and the
> FreeImage library seems pretty robust and simple (once one notes that
> it uses BGRA ordering on little-endian systems). Overall I feel a lot
> better about using this than dealing with PIL and its broken memory
> model and worse patch-acceptance track record.
>
> If anyone wants to test the wrappers out, I'll send you the code.
> Going forward, I'll look into getting this into the scikits image IO
> system, but I don't really have free cycles for that right now.
>
> Zach

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.

Robin



More information about the SciPy-User mailing list