View Single Post
Old 01-14-2007, 10:55 AM   #11 (permalink)
zorlac
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

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)
zorlac is offline   Reply With Quote