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
 Detect animated GIF

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
Brian R Posted - Jul 15 2013 : 02:21:57
Hi,

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

Thanks,
Brian
2   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jul 17 2013 : 13:02:59
You may also use CheckAniGIF() global function, to check if a GIF file is animated or not.
xequte Posted - Jul 15 2013 : 03:13:54
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