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
 How do I check whether file is image file.

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
adisonx Posted - Dec 17 2014 : 00:47:49
My task is to get all files in a folder to convert to desire format (such as tif format). It 's ok when all files are images so TImageEnIO do the job well, but if some files are not image files and not support by TImageEnIO how do I check the file before do the conversion process.

Thanks in advance.
2   L A T E S T    R E P L I E S    (Newest First)
adisonx Posted - Dec 21 2014 : 21:18:04
Thank you
xequte Posted - Dec 17 2014 : 01:36:43
Hi

Check IO.Aborting (or result of LoadFromFile). It will be false if loading failed, e.g. due to an incompatible format.


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