Trying to get FreeImagePy to work.

Fredrik Lundh fredrik at pythonware.com
Mon Jun 5 10:49:37 CEST 2006


Michele Petrazzo wrote:

> Yes it's min-is-white::
> 
> michele:~$ tiffinfo example.tif
> TIFFReadDirectory: Warning, example.tif: unknown field with tag 37680
> (0x9330) encountered.
> TIFF Directory at offset 0x1520 (5408)
>    Subfile Type: (0 = 0x0)
>    Image Width: 1696 Image Length: 1162
>    Resolution: 200, 200 pixels/inch
>    Bits/Sample: 1
>    Compression Scheme: CCITT Group 4
>    Photometric Interpretation: min-is-white        # <------
>    FillOrder: msb-to-lsb
>    Samples/Pixel: 1
>    Rows/Strip: 1162
>    Planar Configuration: single image plane
>    ImageDescription: DS
> michele:~$
> 
> So you *need* to invert it to work correctly with PIL!

PIL has no problem reading "min-is-white" TIFF images.

it would be nice if you stopped posting bogus "support" information for 
other libraries.

</F>




More information about the Python-list mailing list