As TouchBuddy is written in Perl (then converted to an EXE), I found it incredibly hard to find working code to load in individual frames from a multi-frame GIF, so I had to look elsewhere.
Finally I found ImageMagick, and use the PerlMagick interface to load the individual frames from a multi-frame image. My code checks to see if ImageMagick is loaded.. if it is, and its a GIF its trying to load, it tries to load them using the ImageMagick routines.... if not, it loads it normally and only takes the first frame.
__________________
(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
|