AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.05.07 08:14 "[Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久
2009.05.08 03:52 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.08 12:30 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久
2009.05.08 13:47 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 03:03 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久
2009.05.11 06:17 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 11:22 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久
2009.05.11 14:32 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.12 12:19 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久

2009.05.12 12:19 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久

Mr. Frank

It has understood well.

Thank you very much for examining it.

Best regards,

-----Original Message-----

From: Frank Warmerdam [mailto:warmerdam@pobox.com] Sent: Monday, May 11, 2009 11:32 PM

To: masui/増井 郁久
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.

masui/増井 郁久 wrote:

Thank you for Mr. Frank

The tiff file was uploaded as follows. (filename is "test.tif") (URL)

> https://cabinet.nifty.com/sharedarea/share/list.do/txjpt/@nifty/shared > area/tmp/

It is possible to download it by inputting the following login information.

(Email) :masui.ikuhisa@jri-sol.co.jp
(Password): 3120017895

Masui,

The tiffdump utility reports this for your file:

Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 8 (0x8) next 0 (0)
SubFileType (254) LONG (4) 1<0>
OldSubFileType (255) SHORT (3) 1<1>
ImageWidth (256) SHORT (3) 1<111>
ImageLength (257) SHORT (3) 1<279>
BitsPerSample (258) SHORT (3) 3<46469 36998 41886>
Compression (259) SHORT (3) 1<7>
Photometric (262) SHORT (3) 1<2>
FillOrder (266) SHORT (3) 1<1>
StripOffsets (273) LONG (4) 1<206>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
StripByteCounts (279) LONG (4) 1<1994>
MinSampleValue (280) SHORT (3) 1<0>
MaxSampleValue (281) SHORT (3) 1<1>
PlanarConfig (284) SHORT (3) 1<1>
Group3Options (292) LONG (4) 1<0>

The BitsPerSample value is clearly inappropriate, but there are some other issues with this file that seem bizzare too.

I think the file is broken in one way or another.

---------------------------------------+--------------------------------
---------------------------------------+------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com

light and sound - activate the windows | http://pobox.com/‾warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent