[Image-SIG] libtiff plugin for PIL

Kevin Cazabon KCAZA@cymbolic.com
Thu, 13 Apr 2000 16:12:50 -0700

If you're only need is RGBA, you can do a VERY quick mod of TiffImagePlugin.py that
will allow them to work properly, as follows (Fred helped me with the same issue a
while back):

# TiffImagePlugin.py
# line 101
# change     (2, 1, (8,8,8,8), (0,)): ("RGBX", "RGBX"),
    (2, 1, (8,8,8,8), (0,)): ("RGBA", "RGBA"),

>>> Scott Johnston <scott@fleetingimage.com> 04/13/00 11:49AM >>>
A quick deja search of "PIL libtiff" reveals that
in comp.lang.python on 1998/08/27, Fredrik mentioned:

  "We're working on an (optional) libtiff plugin for PIL,
  but there's no set date when that will be available."

Has any further work gone into this? My use of PIL has been severely
limited by its inability to handle RGBA tiff files.
(I can convert to png, or split them into four single channel images
prior to import, but this is messy.)

Also, has any thought been given to supporting 16-bpp data?
I currently filter my data into Numeric but would love
to have the best of both worlds.

Image-SIG maillist  -  Image-SIG@python.org