public class LZWDecodeFilter extends Object implements IFilterHandler
| Constructor and Description |
|---|
LZWDecodeFilter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] b,
PdfName filterName,
PdfObject decodeParams,
PdfDictionary streamDictionary)
Decode the byte[] using the provided filterName.
|
static byte[] |
LZWDecode(byte[] in)
Decodes a byte[] according to the LZW encoding.
|
public byte[] decode(byte[] b,
PdfName filterName,
PdfObject decodeParams,
PdfDictionary streamDictionary)
IFilterHandlerdecode in interface IFilterHandlerb - the bytes that need to be decodedfilterName - PdfName of the filterdecodeParams - decode parametersstreamDictionary - the dictionary of the stream. Can contain additional information needed to decode the byte[].public static byte[] LZWDecode(byte[] in)
in - byte[] to be decodedCopyright © 1998–2019 iText Group NV. All rights reserved.