Here is a version of a GIF decoder that i found in Iczelion's files on Win32 ASM.
The final output is a static LIB, but COMPLETE ASM source is included, which i am sure can be converted to PB and made an image decoder or PB Lib.
i think it uses MASM32, and there are several commented examples in the folder. I tested the examples, and it really works.
I have been searching for a long time for image decoder/encoder sources, and this one is a really good find. anyone want to help me either translate the MASM to PB ASM, or create an import for the static LIB?
http://www.penguinbyte.com/apps/pbwebst ... Source.zip
EDIT:
almost forgot: this is another C sourcecode GIF decoder that is from Pelles C. the program is called GIF2AVI, where it can extract frames from animated GIFs and make an AVI. it contains full source, with a Pellec PROJ file that 100% works. so the source included actually decodes any gif too.
between these 2 sources, we all should be able to put together a gif encoder/decoder.
http://www.penguinbyte.com/apps/pbwebst ... IF2AVI.zip
Pure ASM GIF decoder source
-
localmotion34
- Enthusiast

- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
Pure ASM GIF decoder source
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw