GIF Animation - Windows forms versus browser display
- From: "Seigfried" <Seigfried@xxxxxxx>
- Date: 15 Mar 2007 22:19:41 -0700
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?
.
- Follow-Ups:
- Re: GIF Animation - Windows forms versus browser display
- From: Bob Powell [MVP]
- Re: GIF Animation - Windows forms versus browser display
- Prev by Date: Re: Region intersection with a Graphics object?
- Next by Date: Re: GIF Animation - Windows forms versus browser display
- Previous by thread: Re: how to extract the images from a mpeg file
- Next by thread: Re: GIF Animation - Windows forms versus browser display
- Index(es):
Relevant Pages
|