
Thread
2014.07.01 16:58 "Re: [Tiff] Possible bug in tiff_dirread.c? Or user error?", by Joris Van Damme
Andreas,
2014-07-01 18:14 GMT+02:00 Romeyke, Andreas <Andreas.Romeyke@slub-dresden.de>:
a simple example (white image)
Ah, so that's the reason you refer to strips as "stripes"... ;-)
$> ./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)
Seriously? You expect us to look up these number, for the good that will do you?
If you send me an example TIFF file that you figure is organized in strips, and has tile tags nonetheless, I can easily investigate that file and report back to the mailing list with a thorough report of what's going on in that file, at the very leasing confirming or contradicting your strips-with-tile-tags analysis. Maybe this is useful for someone else that actually knows the tools you're using, and that may be helpful. Also, that I can do for free, as opposed to looking up numbers when a) obviously you didn't bother to add tagnames for our convenience, or even quote my message properly so that it's clear exactly what part of my message you figure above output is a relevant answer to, and seeing that b) I don't know the code that produced these numbers and a bug or shortcoming in that code might very well be the cause of your troubles.
If you do send me a file, send it to my e-mail address privately, the list doesn't like big attachments. I'll report back to the list. Alternatively, publish a file in HTTP or FTP space, and send the URL to the list.
Best regards,
Joris Van Damme
AWare Systems
info@awaresystems.be
http://www.awaresystems.be/