2005.06.02 13:21 "[Tiff] Re: how to detect corrupt tif file", by Gordon Hu
Thanks for the suggestions. Let me set up the situation for you.
We have found some tif files that have garbled lines thus unreadable and considered as garbage by our imaging system. I have done tiffinfo and tiffdump on those files and realized that the image width and image length values do not match. So I guess that is one way to find out whether they are corrupt or not. I am exploring ways to use tiffinfo and tiffdump in our .Net project to detect the said corrupt files. I have download gnu/windows tiff from (http://gnuwin32.sourceforge.net/packages/tiff.htm) unto my desktop and have tried to call the c dll (libtiff3.dll) from vb .net. Since I am a .Net newbie I have limited knowledge about how to implement it. So if anyone who is .Net savvy and can help me set it up I'd much appreciate it.