Getting animated gif data in c or c++
- by Pickles
I'm trying to get the frames (properly decoded) and the frames delay times from an animated gif. I've opened up the code to gifsicle and have also tried lungif but I'm not accustomed to c code and I'm having a difficult time following the logic. I've also tried other examples and I've gotten one to work but it didn't do the proper LZW decoding.
Can anyone give me a quick example of how to do this? I'm building this app in xcode and trying to get an NSArray of the image frames. Thanks.