Hi (Fred),
in the meantime the GIF format should be free now?!
Is there a plan to implement a UseGIFImageDecoder() function?
Thanks,
Michael
@Fred: Can I add 'my' own ImagePlugin (e.g GIF En-/Decoder)?
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
It wouldn't be too hard. haqibaba posted code here for a native GIF decoder, and I myself modified that to decode ALL the frames of an animated gif. So in essence, it could be added to the PB command set:
UseGIFImageDecoder
GetGIFFrame(#image, FrameNumber)
CountGIFFrames(#image)
Or you can just use the code posted on here, but it has NOT been adapted for CatchImage.
UseGIFImageDecoder
GetGIFFrame(#image, FrameNumber)
CountGIFFrames(#image)
Or you can just use the code posted on here, but it has NOT been adapted for CatchImage.
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London