AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2013.04.27 21:34 "[Tiff] Problem with TIFFReadEndcodeStrip()", by Steve McKinney
2013.04.28 01:22 "Re: [Tiff] Problem with TIFFReadEndcodeStrip()", by Bob Friesenhahn
2013.04.28 03:22 "Re: [Tiff] Problem with TIFFReadEndcodeStrip()", by Steve McKinney
2013.04.28 13:51 "Re: [Tiff] Problem with TIFFReadEndcodeStrip()", by Bob Friesenhahn
2013.04.28 06:37 "Re: [Tiff] Problem with TIFFReadEndcodeStrip()", by Steve McKinney

2013.04.27 21:34 "[Tiff] Problem with TIFFReadEndcodeStrip()", by Steve McKinney

Hi,

I've been just about tearing my hair out trying to track down the cause of an access violation when attempting to read a JPEG compressed TIFF using TIFFReadEncodedStrip(). After some research and fiddling I found I was able to work around the problem by setting TIFFTAG_JPEGCOLORMODE to JPEGCOLORMODE_RGB before beginning to read the TIFF. All well and good, but *why* do I have to do this? And should libtiff really crash if I don't?

Thanks in advance for any feedback,

Steve McKinney