Menu ▾ ▴

#16 [PATCH] Fix handling of frame disposal in GIF_PLAYBACK mode

closed
None
7
2012-10-31
2008-11-19
Timothy Lee
No

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.

Discussion

  • Timothy Lee

    Timothy Lee - 2008-11-19

    Optimized patch to skip unnecessary drawing, and report frame delay

     
  • Timothy Lee

    Timothy Lee - 2008-11-19

    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

     
  • Hervé Drolon

    Hervé Drolon - 2008-11-30

    Hi Timothy,
    Thanks for the patch : it has been committed to the CVS.
    Hervé Drolon

     
  • SourceForge Robot

    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).

     

Anonymous
Anonymous

Add attachments
Cancel