2014.05.01 20:49 "[Tiff] Inconsistencies in tiff library tool operation", by Prophet of the Way

2014.05.07 23:34 "Re: [Tiff] Inconsistencies in tiff library tool operation", by Prophet of the Way

Also, I'd like to know if there is a way to determine out whether a Tiff image file is faithful to specifications.

There is no validation test like that. We do our best and then use our eyeballs to see if the results look correct, and try other well respected software to see if it looks the same.

It would be a good idea to provide a program that tells two things:

  1. whether an image is valid
  2. whether it is baseline TIFF, or beyond

Can you name what software is respected and used in these tests?

---

I will give you a list of images from the following collection which encountered valgrind problems.

https://github.com/ZaaLabs/ZaaIL-TestImages/tree/master/

It is likely that the problem with text.tif is also showing up here. Images here are eccentric. Inspection by human eyeballs is not effective.

---

Tiff library version 4.0.3
GCC v. 4.5.1
Valgrind v. 3.6.0

Commands:

(1) tiff2rgba INPUT /tmp/output
(2) tiff2ps INPUT > /dev/null
(3) tiffcp -c none INPUT /tmp/output
(4) tiffcmp INPUT INPUT

Input Tiff image (INPUT), results (exit codes) produced by the above
4 commands, with * after exit code denoting valgrind error:

0c84d07e1b22b76f24cccc70d8788e4a.tif       0   0   0  1*
9b286add70871bbbef1601997b429344.tif       0   0   1  1*
d664a73588796b59191ad8628065f04a.tif       0   0   1  1*
m1-3562055aecf63b573f8a18c4034a4a23.tif    0   0  0*  0*
m1-68bc8a1966db7a1da2d3b5946c00d1af.tif    0   0  1*  1*
m1-b127f0fb89daedea07abb50b9db2dfd9.tif    0  0*   1  1*
m2-63c8b14ea08a18c884d05a3431716047.tif    0   0   0  0*
m6-63c8b14ea08a18c884d05a3431716047.tif    0   0   0  0*
6cd02db6f3688efdd705c28ffcb9a3d3.tif       0   0   0  0*
fa0aa927763ee4c7ebf43a5d05dfebc7.tif       0   0  1*  1*

89b5888641d5910e92bf451b5e639ad0.tif       0  0*   1   0
m10-76c43508fc007bcf5902b6a28e8055a5.tif   1   0  1*   1
m11-76c43508fc007bcf5902b6a28e8055a5.tif   1   0  1* 139
m12-76c43508fc007bcf5902b6a28e8055a5.tif   1   0  1*   1
m1-336db1cd76254717eb50a8602b651fbf.tif    0   0  1* 139
m1-487f40372de5a8b6c848ba2569848492.tif    1 255  1*   1
m1-76c43508fc007bcf5902b6a28e8055a5.tif    1   0  1*   1
m1-bfa1e2fb1d67bcd9d902a0dbf5badb70.tif    1 255  1*   1
m1-ed254aa9f390aab319728b42e00a73e7.tif    0   0  1*   1
m2-336db1cd76254717eb50a8602b651fbf.tif    0   0  1*   1
m2-3562055aecf63b573f8a18c4034a4a23.tif    0   0  1*   1
m2-76c43508fc007bcf5902b6a28e8055a5.tif    1   0  1*   1
m2-d0f86ab189cbe900ec389ca6d7464713.tif    1   0  1*   1
m2-d1d366d7965db766c19a66c7a2ccbb6b.tif    0   0  1*   1
m3-299787ea764c0a88bc481364eded5556.tif    0   0  0*   0
m3-76c43508fc007bcf5902b6a28e8055a5.tif    1   0  1*   1
m3-bfa1e2fb1d67bcd9d902a0dbf5badb70.tif    1 255  1*   1
m4-76c43508fc007bcf5902b6a28e8055a5.tif    1 255  1*   1
m5-336db1cd76254717eb50a8602b651fbf.tif    0   0  1*   1
m5-76c43508fc007bcf5902b6a28e8055a5.tif    1   0  1*   1
m5-d0f86ab189cbe900ec389ca6d7464713.tif    1   0  1*   1
efb780f70a7d94fa98adfc98d2aa8d50.tif       0   0  0*   0

Total 166 images. 32 images reported above.

Images that did not produce valgrind errors omitted.