Hello László,
thank you very much for your nice two class : GIFDecoder & GIFEncoder!
It's very cool and useful, congratulations!
So I'm using the GIFDecoder class and it's OK to get the frames and the delay for each frame. Nice work!
But when I want to rebuild a gif with these frames I encounter sometimes a trouble with GIFEncoder. It depends on the gif I have decoded.
I've tested with the file example.gif (el barto):
1. use GIFDecoder on this file: its' OK and I get the 17 frames.
2. use GIFEncoder on the 17 frames. Not OK. The generated image seems to be a list of single pics, not really a merge.
I uploaded those files for the demo :
1. The original file I used
img77.imageshack.us/img77/5472/exam
...
2. The new file I've generate with GIFEncoder (I used the 17 frames I get with GIFDecoder )
img523.imageshack.us/img523/752/exa
...
Maybe is it the transparency bug ? Or may be I've done an error?
Thank you vey much if you (or someone) may explain what is the problem.
regards,
ps: sorry for my not very good english. Tell me if you don't understand very well my post, Thank you.
--
Laurent