I am writing a program to convert some data, mainly a bunch of Tiff images. Some of the Tiffs have a slight problem with them. They display well in some viewers (Irfanview, the old client system), but not in others (new client system, window view, and fax viewer). I manually looked at the binary data and all the tags look fine. Can someone recommend an application that can analyze it and tell me that if anything is wrong with it?
In addition, for clarity, I only convert data about images that are stored separately in the database and copy images, I myself do not edit the images, so Iām sure that I will not ruin them.
UDPATE: For anyone interested, here are the tags from the good and bad file:
Bad
Tag Type Length Value
256 Image Width SHORT 1 1652
257 Image Length SHORT 1 704
258 bits per sample SHORT 1 1
259 Compression SHORT 1 4
262 Photometric SHORT 1 0
266 Fill out an order SHORT 1 1
273 Band Offset LONG 1 210 (d2 Hex)
274 Orientation SHORT 1 3
277 samples per pixel SHORT 1 1
278 lines per lane SHORT 1,450
279 Account byte accounts LONG 1 7264 (1c60 Hex)
282 X Resolution RATIONAL 1 <194> 200/1 = 200,000
283 Y Resolution RATIONAL 1 <202> 200/1 = 200 000
284 Planar Configuration SHORT 1 1
296 Resolution block SHORT 1 2
Good Quality Tag Type Length Value
254 New type of subfile LONG 1 0 (0 Hex)
256 Image Width SHORT 1 1193
257 Image Length SHORT 1,788
258 bits per sample SHORT 1 1
259 Compression SHORT 1 4
262 Photometric SHORT 1 0
266 Fill out an order SHORT 1 1
270 ASCII Image Description 45 256
273 Strip Shift LONG 1 1118 (45e Hex)
274 Orientation SHORT 1 1
277 samples per pixel SHORT 1 1
278 lines per strip LONG 1,788 (314 Hex)
279 Byte-counter LONG 1 496 (1f0 Hex)
280 Min. Sample value SHORT 1 0
281 Maximum sample value SHORT 1 1
282 X Resolution RATIONAL 1 <301> 200/1 = 200 000
283 Y Resolution RATIONAL 1 <309> 200/1 = 200,000
284 Planar Configuration SHORT 1 1
293 Group 4 Options LONG 1 0 (0 Hex)
296 Resolution block SHORT 1 2
source share