The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Biterider on February 02, 2006, 10:10:17 AM

Title: Gif Compressor
Post by: Biterider on February 02, 2006, 10:10:17 AM
Hi
I need some help with a GIF compressor (LZW algo). Has somebody written it in asm?

Regards,

Biterider
Title: Re: Gif Compressor
Post by: Jojodi on February 02, 2006, 11:53:05 AM
from Icezlion's website: http://win32assembly.online.fr/source1.html
Near the bottom is a GIF library ported for MASM32 :)
Title: Re: Gif Compressor
Post by: Biterider on February 02, 2006, 01:11:12 PM
Hi Jojodi
Thanks for the link, but the sources are for a decompressor only...  :(

Biterider
Title: Re: Gif Compressor
Post by: Tedd on February 02, 2006, 07:04:21 PM
The gif compression method is patented. Which means if you do implement it, you would have to pay :P
Strangely, the patent was granted twice (maybe for slightly different versions?) - one of those has now finished, and the other is due to finish soon (in a year or two, I think.)
Title: Re: Gif Compressor
Post by: gabor on February 02, 2006, 08:07:53 PM
Hello!

Check this out: http://www.masmforum.com/simple/index.php?topic=1021.0
It start talking about RLE but later it continues with LZW. There are attached source too.

Greets, Gábor
Title: Re: Gif Compressor
Post by: Biterider on February 02, 2006, 08:58:20 PM
Hi Gabor
Thanks for the link, I will see what I can use  :thumbu

Hi Tedd
As far as I know, both patents expired last year, but correct me if I'm wrong...

Biterider
Title: Re: Gif Compressor
Post by: Tedd on February 03, 2006, 12:24:59 PM
August 2006, apparently (depends on your country though)

http://www.gnu.org/philosophy/gif.html