How can I create an animated .gif file from a movie I have? I guess it is pretty simple in objective-C and cocoa, by using the QTKit, to extract images from a movie, now how can I glue them together as an animated gif?
+1
A:
I don't think there's anything built into OS X for creating animated GIFs. Your best bet would be to look at the gifsicle project. You could either call it via command-line, or borrow the code if your license allows it. (it's GPL)
Ken Aspeslagh
2010-09-11 01:51:48
Thank you for your response, I'll have a look at it. But it seems it'll have to carve a lib up from it : D
rano
2010-09-11 06:35:30
I started to have a look at libgd, as stated in another answer.
rano
2010-09-13 19:09:49
oh cool. i wasn't aware of that.
Ken Aspeslagh
2010-09-13 21:05:35
A:
There is a pretty good lib (even if 'old') for this task (and other kinds of image processing): libgd. It appears it is built into Mac OS X or easly installable through MacPorts. Here some doc about animated GIF creation from single images.
rano
2010-09-13 19:14:32