ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Corrupt TIFF

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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...