Implements the LZW filter.
Since LZW uses a tightly packed bit stream in which codes are of varying bit lengths and are not aligned to byte boundaries, this filter is not as fast as the other filters. If speed is a concern, the
FlateDecode filter should be used instead.
HexaPDF::Filter, PDF1.7 s7.4.4
Public Class Methods
decoder(source, options = nil)¶
encoder(source, options = nil)¶