Save an Animated .gif?

  • Thread starter Thread starter S. Justin Gengo
  • Start date Start date
S

S. Justin Gengo

I'm creating an image scraping program.

The program loads all images it finds on a web page and allows the user to
save them to disk.

The problem I'm having is getting the program to save animatged gifs. The
gif, loaded into a picture box, displays correctly on my form. But when I
save it to disk it only save whichever fram was being displayed in the
picture box at that current moment.

How do I save all the frames?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
Bob,

Interestingly enough, I am using .Net to manipulate images while uploading
to a website.

I found a way to upload animated gifs to the website via .Net. I upload the
original image and it saves just fine.

I've made that web project available for free from my site:
www.aboutfortunate.com

I've used the exact same code to save the animated gif from my windows form.

It works when uploading and then saving from the web site project, but the
exact same code doesn't work from a windows project.

Please check it out and see what you think:

You may download the project as a visual studio.net 2003 project by clicking
the "Code Library" link at the top right of the page and then clicking the
"Image Manipulator" button in the menu on the left.

Thanks,
--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
Back
Top