Manuals/calci/LZWCOMPRESS
LZWCOMPRESS (uncompressed)
- is any uncompressed string.
Description
- This function gives the compressed value in its simplest form.
- A quick examination of the algorithm shows that LZW is always trying to output codes for strings.
- And each time a new code is output, a new string is added to the string table.
Examples
- LZWCOMPRESS("Ttestst a s") = 84 116 101 115 116 259 32 97 32 115
- LZWCOMPRESS("Holiday") = 72 111 108 105 100 97 121
- LZWCOMPRESS("a^ h*&webvcddeee") = 97 94 32 104 42 38 119 101 98 118 99 100 100 101 269