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
 LoadFromUrl & Animated gif
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Jeepney

Poland
1 Posts

Posted - Aug 29 2013 :  06:34:12  Show Profile  Reply
Hello,

I have problem with load animated gif.


   ImageEnView1.IO.Aborting := false;
   ImageEnView1.IO.LoadFromURL(fileURL);
   ImageEnView1.Update;
   ImageEnView1.Playing := true;


The image was loaded (first frame), but the animation does not work. If I open local file is OK.

xequte

39061 Posts

Posted - Sep 01 2013 :  14:03:27  Show Profile  Reply
Hi

ImageEnView.Playing is only a simple function which loads frames from disk on demand (See warnings at: http://www.imageen.com/help/TImageEnView.Playing.html). It is not suitable for LoadFromURL().

You should use a TImageEnMView control instead for playback of web based animated GIF's (I.e. with MIO.LoadFromURL). Or download the gif to a temporary file and play that.



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: