The disposal of each GIF frame should be performed after it's content has been drawn, not before.
FreeImage 3.11.0 currently performs frame disposal before rendering content, resulting in frame corruption when the GIF_PLAYBACK flag is specified.
The attached patch swaps the order of frame rendering and frame disposal.
Anonymous
Optimized patch to skip unnecessary drawing, and report frame delay
The updated patch skips unnecessary rendering of frame content, and make sure the frame duration is reported even in GIF_PLAYBACK mode.
File Added: FreeImage-3.11.0-gif_playback.patch
Hi Timothy,
Thanks for the patch : it has been committed to the CVS.
Hervé Drolon
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).