toPackBits
const func string: toPackBits (in string: uncompressed)
-
Compress a string with the run length encoding PackBits.
The PackBits compression is used in TIFF files.
- Returns:
- the run length encoded string.
fromPackBits
const func string: fromPackBits (in string: compressed)
-
Decompress a PackBits run length encoded string.
The PackBits compression is used in TIFF files.
- Returns:
- the compressed string.
toPackBitsPdf
const func string: toPackBitsPdf (in string: uncompressed)
-
Compress a string with the run length encoding PackBits of PDF.
In the PackBits encoding of PDF '\128;' encodes the end of data.
- Returns:
- the run length encoded string.
fromPackBitsPdf
const func string: fromPackBitsPdf (in string: compressed)
-
Decompress a PDF PackBits run length encoded string.
In the PackBits encoding of PDF '\128;' encodes the end of data.
- Returns:
- the compressed string.