W.T. Bridgman wrote: > The PIL documentation claims that TIFF files are supported for "1", > "L", "RGB", or "CMYK" data. > > I was examining the Tiff plug-in and did not find anything that > suggested "F" was unsupported so I tried writing and reading a simple > floating-point TIFF. It worked. > > Is this just a missing entry in the docs or does anyone know of > potential gotchas should I start using this new found capability?
the documentation is outdated. in 1.1.5, the TIFF loader supports the following modes: "1" "CMYK" "F" "I" "I;16" "I;16S" "L" "LA" "LAB" "P" "PA" "RGB" "RGBA" "RGBX" "YCbCr" (for a complete list of what TIFF pixel layouts that PIL can read, see the OPEN_INFO mapping in the TiffImagePlugin). </F> _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
