Questions tagged [lzw]

LZW (Lempel-Ziv-Welch) is a compression algorithm which supersedes LZ78.

LZW (Lempel-Ziv-Welch) is a compression algorithm which supersedes LZ78.

You can find more information about LZW on Wikipedia.

185 questions
-2
votes
1 answer

LZW Decompression c++

I'm trying to code a lzw data compressor/decompressor, br/> So i did make a compressor (who seems to work but maybe not) using this Algorithm but when i try to decompress it i get a weird result not looking at all like the original file ... I think…
Haza
  • 97
  • 1
  • 2
  • 10
-4
votes
1 answer

How to write LZW compressed text to a file in C?

Hi i have done a simple LZW compressor in C but i couldn't find anything about how to write compressed values to a file. For example i compressed a txt file which is "banana bandana" and the output code is : 98 97 110 257 97 32 256 110 100 259 How…
koray
  • 1
-4
votes
1 answer

LZ compression technique

I was trying to implement LZ compression....and was trying to compress some files using it....but I am having some logical problem... I seriously don't have any idea about how the data is to be stored back to file... real problem is : suppose I got…
xor
  • 2,668
  • 2
  • 28
  • 42
-5
votes
1 answer

How to build a tree for LZW compression?

Can anyone show me how to build a tree for LZW compression in c? Is it something like struct tree{ short next[255]; }
LSY
  • 11
  • 2
-5
votes
1 answer

Uncompress *.Z file in PHP

Possible Duplicate: Is there a way to uncompress .Z files using php? Looking for any leads or suggestions for a function in PHP that will uncompress a Unix .Z file in a Windows environment.
Justin
  • 1
1 2 3
12
13