2001.12.12 20:23 "jpeg in tiff problem", by Eric Hamrick

2001.12.12 20:23 "jpeg in tiff problem", by Eric Hamrick

Hi,

I have an imagegear 8 compressed tif containing jpeg data that I cannot read from with the current tiff library compiled with jpeg support. When I read it in, the compression type is listed as 7. But when I call TIFFReadEncodedStrip on the file I receive an error from the JpegPreDecode function saying there is an improper sampling factor. The tif loads correctly in photoshop 6. And my own libtiff created jpeg tifs do not give this error. Does anyone have any ideas why I am getting this error?

Here is the tiff: http://doc.med.ohio-state.edu/eric/igjpeg.tif

Thanks!

Eric Hamrick