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
 Evolution - Evaluate TIFF for Corruption

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
cverhoff Posted - Jul 01 2012 : 19:10:11
Hey Gang,

Does anyone have any suggestions on how to best use ImageEn Evolution to evaluate large volumes of Tiff files to detect if any of the files are corrupt or have any corrupt pages. I am looking at doing a large conversion of documents and their images from one Document Management System to another. I would like to check each tiff file (10 million in all) to make sure the they are valid. If they are corrupt or have any corrupt pages, I need to separate them from the good ones. Since my conversion app is VB .NET, I would really like to use ImageEn Evolution to detect if any of these tiff images are corrupt in any way. I would greatly appreciate any assistance that anyone could provide.

Many Thanks & Cheers,

Curtis Verhoff
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 05 2012 : 02:32:51
Hi Curtis

I would recommend the View Frame Demo which shows the loading of a multi-frame image and viewing all of its frames:

http://www.imageen.com/demos/Multi/Multiview_PrintFrame/Multiview.exe

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
cverhoff Posted - Jul 04 2012 : 09:00:32
Nigel,

Thank You Very Much. Which demo would be best to review in regards the the functions and properties I will need to validate the Tiff files and detect any file corruption. I would greatly appreciate it.

Cheers,

Curtis Verhoff
xequte Posted - Jul 02 2012 : 19:07:10
Hi Curtis

You can see the Delphi compiled demos at:

www.imageen.com/demos/

Which will work in much the same way as the IEvolution ones.

You can also email me if you want to review the IEvolution demo source code (though naturally it won't be functional without the IEvolution DLL).



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
cverhoff Posted - Jul 02 2012 : 08:28:54
Nigel,

Thank You So Much For Your Quick Response. Just so I can make sure I have a clear understanding, would you happen to have some sample VB .NET code using the required functions and properties? I would greatly appreciate it.

Thanks Again,

Curtis Verhoff
xequte Posted - Jul 02 2012 : 02:41:40
Hi Curtis

At the simplest level you can just load each frame of the TIFF from zero to IOParams.TIFF_ImageCount (by setting IOParams.TIFF_ImageIndex: http://www.imageen.com/ievolutionhelp/html/ef4f5e3c-ebfb-e668-2eb4-b286574a75fc.htm)

After each load check that Aborting is not false which would indicate a load error:

http://www.imageen.com/ievolutionhelp/html/14b3f80f-2daf-9a96-b4ba-fb3ea2925569.htm


Of course, you may be asking if it is possible to check for corruption that does not actually prevent loading. On that point we'll have to see if Fabrizio or others have any suggestions.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com