animated gif

How does Internet Explorer display animated gifs. For example if you open an animated gif in Microsoft Paint or Photo editor you only get the first frame.

So the question is what mechanism is involved here.

Win C or C++ Please.


haastAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

graham_kCommented:
each animated GIF contains several frames. Microsoft Paint & Photo editor are not animated GIF aware, so they only display the first frame. Get a program such as Graphic Workshop Pro, etc if you want to create, view or edit animated GIFs.

Now, to the coding part of your question - If you want to cause a browser to display an animated GIF, or to create some HMTL cotaining an animated GIF, the procedure is no different than for a standard GIF (the browser does teh tricky stuff).

If you want to - say - display an animated GIF on a Tcanvas or other GUI object in your program & animate it yourself ...  go to http://www.wotsit.org and get the file format. From that, you should be able to pick out the individual frames & display them one after another, with a suitable delay between.

Hmmm, if using Delphi or Boland C++ builder, it is possible that someone already created a component TanimatedGif.
0
AlexVirochovskyCommented:
Animation Factory - Free Clipart, Animated gifs, graphics, images, icons, buttons and 3D animations
http://www.eclipsed.com

Animation Factory - Free animated gifs, clip art, and graphics
http://www.animfactory.com

Animation Library
http://animation.simplenet.com

ssanimation.com - free original animation & graphics
http://www.ssanimation.com

Cool Archive - free fonts, graphics, icons, animations, backgrounds, arrows, sounds
http://www.coolarchive.com

Pixel Warehouse - Your source of FREE graphics
http://www.pixelwarehouse.com

Gateway to free graphics, gifs, backgrounds, sounds and more.
http://pages.sssnet.com/coutlet

AndyArt - Free animated gifs, backgrounds, buttons, Photoshop tips, Illustrator tutorials, HTML tips, graphic tips, web design secrets & more!
http://www.andyart.com

The best animated gif artists, gallery of animated gifs, cool contests, animation software, quality graphics, clipart and more!
http://www.gifartist.com

Animation Gallery - Animated GIF, Shockwave, Java
http://www.animationcreations.com 

Animated Gif Artists Guild
http://www.agag.com 

Roger's Animated GIFs, one of the best organized animated GIFs repositories
http://www.rogersgifs.com 

Web GraFX-FX: 8000 GIF Animations
http://www.webgrafx-fx.com 

IP: Animated GIFs and Java Applets for Web Page Designers and Java Animation Developers
http://intrepidpro.com 

WWWeb.Ready! Animation Collections and GIFFY the GIF Animation Builder
http://www.web-ready.com
0
chensuCommented:
A control for displaying animated gif images
http://www.codeguru.com/atl/Gif89a.shtml
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.