AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.05.07 08:14 "[Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 03:52 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.08 12:30 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 13:47 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 03:03 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 06:17 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 11:22 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 14:32 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.12 12:19 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>

2009.05.11 14:32 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam

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/sharedarea/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.

Best regards,
-- 
---------------------------------------+--------------------------------------
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