[fltk/fltk] Animated GIF support (Fl_Anim_GIF_Image class) (PR #375)
wcout
Jan 22, 2022
This class is an extension to Fl_GIF_Image and allows loading and viewing of animated GIF images.
Fl_Anim_GIF_Image is a complete implementation of an FLTK image class (derived from Fl_GIF_Image) capable to be used as shared image, tiled image, scalable image, like any other FLTK image class.
Fl_GIF_Image's code has been modified to load/parse all images of an image file (instead of only the first image) when instructed. Fl_Anim_GIF_Image utilises this and stores all images (frames) on its own as RGB images and automatically starts animating them.
It needs be told a 'canvas' widget, wherein to draw the images to.
Full docs, demo and test programs are included.
You can view, comment on, or merge this pull request online at:
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/375@github.com>
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.