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
 Detect animated GIF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Brian R

1 Posts

Posted - Jul 15 2013 :  02:21:57  Show Profile  Reply
Hi,

how do I detect if a GIF file loaded in a TImageEnView is animated or not?

Thanks,
Brian

xequte

39076 Posts

Posted - Jul 15 2013 :  03:13:54  Show Profile  Reply
Hi Brian

A GIF that is animated with have multiple frames (GIF_ImageCount > 0) and a valid Delay Time (GIF_DelayTime).

Of course you can set Playing to true to animate it.


See Also:

http://www.imageen.com/help/TIOParamsVals.GIF_ImageCount.html
http://www.imageen.com/help/TIOParamsVals.GIF_DelayTime.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

fab

1310 Posts

Posted - Jul 17 2013 :  13:02:59  Show Profile  Reply
You may also use CheckAniGIF() global function, to check if a GIF file is animated or not.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: