| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2011.01.23 03:30 "Re: Cannot read YCbCr JPEG-compressed images", by Charles AuerUsing TIFFReadEncodedTile, I was able to decode all 7 images in the sample file without any errors. > Date: Thu, 20 Jan 2011 19:51:33 -0500 > From: csbruce@cubewerx.com > To: tiff@lists.maptools.org > Subject: [Tiff] Cannot read YCbCr JPEG-compressed images > > The TIFF library runs into an internal problem when I try to use it to > read > YCbCr JPEG-compressed images. I'm currently using version 4.0.0beta6, > but 3.9 and 3.7 had the same problem. Calling TIFFReadTile() inside my > program for the first tile produces the following error: > > JPEGDecodeRaw: application buffer not large enough for all data. > > I have put a sample image (it's 41 MB) at: > > http://csbruce.com/temp/q09050_006_nir.tif > > $ tiffinfo q09050_006_nir.tif > TIFF Directory at offset 0x2705581 > Image Width: 11500 Image Length: 7500 > Tile Width: 256 Tile Length: 256 > Resolution: 0, 0 (unitless) > Bits/Sample: 8 > Compression Scheme: JPEG > Photometric Interpretation: YCbCr > YCbCr Subsampling: 2, 2 > Samples/Pixel: 3 > Planar Configuration: single image plane > [...] > > I get the same problem with TIFFs that aren't tiled or multi-image. > Any help is appreciated. > > --------------------------+----------------------+-------------------------- > Dr. Craig S. Bruce | Ph 819-771-8303 x205 | CubeWerx Inc. > Senior Software Developer | Fax 819-771-8388 | Gatineau, Québec, Canada > csbruce@cubewerx.com | http://csbruce.com/ | http://www.cubewerx.com/ > --------------------------+----------------------+-------------------------- > "Oh, please. You can't expect politicians to have any comprehension > of the technical issues they make world-changing decisions about." > _______________________________________________ > Tiff mailing list: Tiff@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/tiff > http://www.remotesensing.org/libtiff/ |
|||||||