
Thread
2014.07.01 16:14 "AW: [Tiff] Possible bug in tiff_dirread.c? Or user error?", by Andreas Romeyke
Hello,
a simple example (white image) created with gimp on Debian Testing is attached (640Bytes) . With same effect as described in original report:
$> ./fixit_tiff -c -i ~/Dokumente/white_gimp.tiff
infile='/home/romeyke/Dokumente/white_gimp.tiff', outfile='(null)'
these tags are required:
[*] means: tag already exists
### tag 256 (0x 100) [*]
### tag 257 (0x 101) [*]
### tag 259 (0x 103) [*]
### tag 262 (0x 106) [*]
### tag 273 (0x 111) [*]
### tag 277 (0x 115) [*]
### tag 278 (0x 116) [*]
### tag 279 (0x 117) [*]
### tag 282 (0x 11a) [*]
### tag 283 (0x 11b) [*]
### tag 296 (0x 128) [*]
### tag 258 (0x 102) [*]
##### found=12 required=12
tiff comes with all required tags for baseline rgb
tiff is not a baseline, because it has additional tags for baseline rgb
these tags are allowed only:
tag count=19, [*] means: tag is a baseline tag
tag 254 (0x fe) [*]
tag 256 (0x 100) [*]
tag 257 (0x 101) [*]
tag 258 (0x 102) [*]
tag 259 (0x 103) [*]
tag 262 (0x 106) [*]
tag 269 (0x 10d)
tag 270 (0x 10e) [*]
tag 273 (0x 111) [*]
tag 274 (0x 112) [*]
tag 277 (0x 115) [*]
tag 278 (0x 116) [*]
tag 279 (0x 117) [*]
tag 282 (0x 11a) [*]
tag 283 (0x 11b) [*]
tag 284 (0x 11c) [*]
tag 296 (0x 128) [*]
tag 324 (0x 144)
tag 325 (0x 145)
$> tiffinfo ~/Dokumente/white_gimp.tiff
TIFF Directory at offset 0x134 (308)
Subfile Type: (0 = 0x0)
Image Width: 10 Image Length: 10
Resolution: 72, 72 pixels/inch
Bits/Sample: 8
Compression Scheme: None
Photometric Interpretation: RGB color
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 64
Planar Configuration: single image plane
DocumentName: /home/romeyke/Dokumente/white_gimp.tiff
ImageDescription: Created with GIMP, Testfile for testcase fixit_tiff/libtiff
With best regards,
Andreas Romeyke
project member "long-term preservation"
Saxon State- and University Library Dresden (SLUB)
Department 2 (IT), Division 2.3 (network and data security)
Zellescher Weg 18 | 01069 Dresden
phone: +49 351 4677 216
E-Mail: Andreas.Romeyke@slub-dresden.de
http://www.slub-dresden.de/ | @slubdresden
-----Ursprüngliche Nachricht-----
Von: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.org] Im Auftrag von Joris Van Damme (AWare Systems) Gesendet: Dienstag, 1. Juli 2014 17:57
An: Romeyke, Andreas
Cc: tiff@lists.maptools.org
Betreff: Re: [Tiff] Possible bug in tiff_dirread.c? Or user error?