jesusgollonet/ofxGifEncoder — pull request #5 by martial (2012-01-03 16:43:56+00:00)
Title: Changed and improved reset to clear functions, added class for ofxGifFrame

Hi Jesus,

I was working with your ofGifEncoder class for a project : www.uglitch.com

I added a clear function, and check that the unsigned char * pixels that you're copying are correctly deleted.
Also added a stop() function for the thread when the saving is done.

But still, there are some problems - I noticed a very huge memory leak while trying to do various gifs one after another.

I've checked a lot of examples from FreeImage and everything seems to be ok.
All the allocations seems to be deleted..

See memory debugger if you're interested : http://dl.dropbox.com/u/817108/share/ofxGifEncoderMem.jpg

If you have any idea on this ?
Maybe It's worth to write something on the OF forum

Don't feel forced to merge this pull request, as this problem is still going on.

Also one good improvement would be to make ofxGifEncoder and ofxGifDecoder more compatible, if you want I would be happy to help on that

Saludos!