T O P I C R E V I E W |
donaldadams1951 |
Posted - Mar 05 2012 : 16:34:50 I save a TIff from database to file. How can I tell if the file is corrupt? In other words how can I make sure a file is an uncorrupted TIFF before I process it? Assume the file name is TIFFTest.tif.
Thanks |
4 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Mar 04 2013 : 14:15:19 Hello, there are several reasons for signaling Aborting = true. Most commonly the file size is less than expected (however all pixels could be already read). |
PStadler |
Posted - Mar 01 2013 : 07:58:15 Hello,
What are the criteria that Aborting is true?
ImageEnView1.IO.Aborting
Some of the images (gif or png-Files) can be shown normally on ImageEnView component. Why are they corrupt?
I checked very large number of images in our image database. 0.0003% of the images are declared as corrupt, but they open normal in component and also PaintShopPro.
Sincerely
Peter |
donaldadams1951 |
Posted - Mar 06 2012 : 14:40:20 thanks... |
fab |
Posted - Mar 06 2012 : 00:20:39 ImageEn can test if a file is corrupted, but only after loaded (or tried to load) it. Example:
ImageEnView1.IO.LoadFromFile('TIFFTest.tif'); if ImageEnView1.IO.Aborting then ...corrupted... |