Difference between revisions of "Manuals/calci/LZWCOMPRESS"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''LZWCOMPRESS (uncompressed)'''</div><br/> *<math>uncompressed</math> is any uncompressed string. ==Description== *This function gives the compre...") |
(No difference)
|
Latest revision as of 04:26, 27 February 2020
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