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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Evolution - Evaluate TIFF for Corruption
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cverhoff

USA
3 Posts

Posted - Jul 01 2012 :  19:10:11  Show Profile  Reply
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

xequte

39109 Posts

Posted - Jul 02 2012 :  02:41:40  Show Profile  Reply
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
Go to Top of Page

cverhoff

USA
3 Posts

Posted - Jul 02 2012 :  08:28:54  Show Profile  Reply
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
Go to Top of Page

xequte

39109 Posts

Posted - Jul 02 2012 :  19:07:10  Show Profile  Reply
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
Go to Top of Page

cverhoff

USA
3 Posts

Posted - Jul 04 2012 :  09:00:32  Show Profile  Reply
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
Go to Top of Page

xequte

39109 Posts

Posted - Jul 05 2012 :  02:32:51  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: