AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



2005.06.06 17:13 "Problem validating a tiff file in vb .net", by Gordon Hu

All,

I am having problems validating a tiff file that has garbled data
(e.g. does nto contain any readable data only lines). I am able to use
my vb .net app to read tags and their vaues. (like tiffinfo) But when
I ran imgcheck.exe from kofax to validate it. I got the following :
1.TIF anomaly: Expected 2 EOL's at EOS/EOP, found 0
1.TIF anomaly: Stated image length = 3072, actual is 3067
1.TIF anomaly: Tile 5 length = 26, should be 27
1.TIF anomaly: Tile 17 length = 26, should be 27
1.TIF anomaly: Tile 37 length = 26, should be 27
1.TIF anomaly: Tile 80 length = 26, should be 27
1.TIF anomaly: Tile 81 length = 26, should be 27

To give an example, my vb .net app gave me the value of 3072 for image
height but according to imgcheck.exe it should be 3067. I got that
value (3072) by calling PropertyItems on an Image object. Got any
ideas where that executable is getting the length value? Also it is
looking at eol's and the tile length. Does anybody know where those
data can be found and how I can get those values thru vb .net?

Gordon