2014.07.01 11:12 "[Tiff] Possible bug in tiff_dirread.c? Or user error?", by Andreas Romeyke

2014.07.01 17:10 "Re: [Tiff] Possible bug in tiff_dirread.c? Or user error?", by Joris Van Damme

Andreas,

I noticed you had attached a file just as I hit the 'send' button on my premature answer... Sorry 'bout that.

A quick investigation reveals a single IFD, that is an image IFD, that is organized in strips, but has to tile tags whatsoever. Did your analysis show this particular IFD had tile tags?

Here's a tag dump, though it'll likely only make sense if you view this message as HTML.

*Tag**Datatype**Count**Value*NewSubfileType <http://www.awaresystems.be/imaging/tiff/tifftags/newsubfiletype.html>Long10 ImageWidth <http://www.awaresystems.be/imaging/tiff/tifftags/imagewidth.html>Short110 ImageLength <http://www.awaresystems.be/imaging/tiff/tifftags/imagelength.html>Short110 BitsPerSample <http://www.awaresystems.be/imaging/tiff/tifftags/bitspersample.html>Short38, 8, 8Compression <http://www.awaresystems.be/imaging/tiff/tifftags/compression.html>Short1 NonePhotometricInterpretation <http://www.awaresystems.be/imaging/tiff/tifftags/photometricinterpretation.html> Short1RGBDocumentNameAscii40"/home/romeyke/Dokumente/white_gimp.tiff " ImageDescription <http://www.awaresystems.be/imaging/tiff/tifftags/imagedescription.html> Ascii60"Created with GIMP, Testfile for testcase fixit_tiff/libtiff " StripOffsets <http://www.awaresystems.be/imaging/tiff/tifftags/stripoffsets.html>Long18 Orientation <http://www.awaresystems.be/imaging/tiff/tifftags/orientation.html>Short1 TopLeftSamplesPerPixel <http://www.awaresystems.be/imaging/tiff/tifftags/samplesperpixel.html>Short 13RowsPerStrip <http://www.awaresystems.be/imaging/tiff/tifftags/rowsperstrip.html>Short164 StripByteCounts <http://www.awaresystems.be/imaging/tiff/tifftags/stripbytecounts.html>Long1 300XResolution <http://www.awaresystems.be/imaging/tiff/tifftags/xresolution.html>Rational1 72YResolution <http://www.awaresystems.be/imaging/tiff/tifftags/yresolution.html>Rational1 72PlanarConfiguration <http://www.awaresystems.be/imaging/tiff/tifftags/planarconfiguration.html> Short1ChunkyResolutionUnit <http://www.awaresystems.be/imaging/tiff/tifftags/resolutionunit.html>Short1 Inch

Best regards,

Joris Van Damme
AWare Systems
info@awaresystems.be
http://www.awaresystems.be/