Page 1 of 1

LZW Compression

Posted: Fri Feb 15, 2008 7:25 pm
by hellhound66
Closed.

Posted: Sat Feb 16, 2008 11:41 am
by Amnesty
Good work!

BTW: Patent expired in 2004 for Europe.

Posted: Sat Feb 16, 2008 4:48 pm
by Demivec
Amnesty wrote:Good work!

BTW: Patent expired in 2004 for Europe.
Patent also expired June 3, 2003 for U.S.A.

Posted: Sat Feb 16, 2008 6:13 pm
by Hroudtwolf
Patent applied by Hroudtwolf ^^


Good job @Hellhound

Posted: Sun Feb 17, 2008 12:24 am
by Dare
Hroudtwolf wrote:Patent applied by Hroudtwolf ^^
:lol:

Posted: Sun Feb 17, 2008 1:53 am
by localmotion34
just a note:

this function is great, however, it takes nearly forever to compress a bitmap of dimensions greater than 800 pixels.

bitmaps bigger than 1000 pixels actually fail to return out of the compression routine.

Posted: Sun Feb 17, 2008 2:22 am
by SFSxOI
Hroudtwolf wrote:Patent applied by Hroudtwolf ^^


Good job @Hellhound
too late, I did it last year :)

Thanks for the code,

Posted: Sun Feb 17, 2008 2:29 am
by Dare
Yes, thanks!

Posted: Sun Feb 17, 2008 11:16 am
by hellhound66

Code: Select all

Define.l Index = IsTable(*InfoTable,CurrentTableEntry,First,Second) 
This line slows it down like hell. I didn't optimize it at all ( as I wrote in the first post). Every time I must search the whole array. Normally I would include another array of arrays to sort the indices to the first entry values.
I think so I would be able to improve it to 0.5MB a second.

Removed

Posted: Sat Feb 23, 2008 3:21 am
by Dr_Wildrick
Removed

Posted: Sat Feb 23, 2008 11:00 am
by hellhound66
Thanks for the information. I will look it up some time (LZS).
Perhaps I will upgrade the PB code as I did it with my C++ code (that I posted in the same thread, have a look).

Removed

Posted: Sat Feb 23, 2008 6:06 pm
by Dr_Wildrick
Removed

Posted: Sat Feb 23, 2008 7:58 pm
by hellhound66
Aah, LHA. Of course I know LHA. I used it for years ^^.
And 16 years ago, I started progamming with Pascal, so this would be no big deal.
Unfortunately, my free time runs low, becuase of my job (soldier) and my family, that has got priority one for me.
Thanks for the detailed information, Doc.