how to create a Animated GIF using wxGIFHandler?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
dhana
Earned a small fee
Earned a small fee
Posts: 15
Joined: Tue Dec 02, 2014 7:25 am

how to create a Animated GIF using wxGIFHandler?

Post by dhana » Wed Feb 11, 2015 12:15 pm

In wxWidgets 2.8.10,

I need create a animated GIF by list of images using wxGIFHandler.
Is any way to integrate it? reply

Manolo
Can't get richer than this
Can't get richer than this
Posts: 713
Joined: Mon Apr 30, 2012 11:07 pm

Re: how to create a Animated GIF using wxGIFHandler?

Post by Manolo » Thu Feb 12, 2015 1:42 am

In wx 2.8.10 GIFs can only be read, not saved.
In wx 3.0 you can use wxGIFHandler::SaveAnimation. I can't find its documentation, but I found the code at src/common/imaggif.cpp

User avatar
doublemax
Moderator
Moderator
Posts: 15263
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: how to create a Animated GIF using wxGIFHandler?

Post by doublemax » Thu Feb 12, 2015 8:29 am

Maybe this post helps:
viewtopic.php?f=1&t=39275
Use the source, Luke!

Post Reply