GIF Animation - Windows forms versus browser display



GIF animations contain a frame display time that control how rapidly
the new frames are displayed during the animation. The ImageAnimator
class in GDI+ provides the UpdateFrames method which seems to do the
same thing. (I discovered a page which claimed that an internal rate
of 50 ms was used. I have not been able to verify this, however.)

Why do we need both?

I have written a simple animation using the example that can be found
at MSDN, but the results don't look that good in a Windows form.
Frames are skipped entirely. The animation repeats even though a
single iteration was specified when the GIF was created.

The same GIF in a browser works just great.

Can someone explain to me how to get my animation to work as well in
Windows forms as it does in a browser?

.



Relevant Pages

  • Re: Problem with Animated GIFs
    ... you'd like to display some animated ... > missing some frames, and staying on other frames longer. ... > perhaps try a slower animation to see if I can be a little more ... I tried another gif file, and this seems to be exactly the problem. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Need some help with animation
    ... >> a) you load only FIRST frame from your GIF, try to use ImageIO to get ... > an animated GIF so it contains all the frames. ... Yes, file contains all frames, but java picks only the first of them. ... >> b) use MemoryImageSource to create animation. ...
    (comp.lang.java.gui)
  • Re: resize animated gif
    ... An animated .gif is simply a group of 'frames', ... To resize the .gif and maintain the animation you ... need to loop through each of the frames and resize each one. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: best program to make animated gif for powerpoint???
    ... Combined with animation, a swimmer can really swim across the screen, or an ... You can use the transparency in a GIF to add motion and effects. ... >> Users helping fellow users. ...
    (microsoft.public.powerpoint)
  • Re: Transparent Backgrounds & Animated GIFs
    ... You need program such as GIF Animator or Animation Shop to edit each frame ... and resave the whole animation with a transparent background or try this ...
    (microsoft.public.frontpage.client)

Quantcast