AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.02.21 18:05 "PhotoShop alpha channels and LibTiff", by Chris Losinger
2001.02.21 19:22 "RE: PhotoShop alpha channels and LibTiff", by Michael O'Rourke
2001.02.21 19:44 "RE: PhotoShop alpha channels and LibTiff", by Chris Losinger
2001.02.22 00:39 "Re: PhotoShop alpha channels and LibTiff", by Joris Van Damme
2001.02.22 14:36 "RE: PhotoShop alpha channels and LibTiff", by Ricardo Lopez
2001.02.21 19:57 "Re: PhotoShop alpha channels and LibTiff", by Chris 'Xenon' Hanson

2001.02.21 18:05 "PhotoShop alpha channels and LibTiff", by Chris Losinger

i have a TIFF created in PhotoShop (vers??). it is saved with an alpha channel.

when i go to read this image using TIFFReadRGBAImage, the alpha channel is not read. LibTiff treats it as an RGB image, not an RGBA.

tracing the code, i found that the alpha channel is marked: EXTRASAMPLE_UNSPECIFIED. when i forced that flag to EXTRASAMPLE_ASSOCALPHA, LibTiff returns the proper alpha channel.

what to do about this?

is it a photoshop bug or a libtiff bug?

-c