LZWFilter

Overview

LZWFilter is a class in Aspose.PDF FOSS for Java. Inherits from: PdfFilter.

LZWDecode filter (§7.4.4.2, ISO 32000-1:2008).

This class provides 4 methods for working with LZWFilter objects in Java programs. Available methods include: LZWFilter, decode, encode, getName. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: name.

Properties

NameTypeAccessDescription
namePdfNameRead{@inheritDoc}
/

Methods

SignatureDescription
LZWFilter()Creates an LZWFilter instance.
decode(encoded: byte[], params: PdfDictionary)byte[]{@inheritDoc}

Decodes LZW-compressed data per the PDF specification. | | `encode(decoded: byte[], params: PdfDictionary)` → `byte[]` | **Not implemented in the FOSS edition — throws at runtime.** {@inheritDoc}

LZW encoding is not supported. | | `getName()` → `PdfName` | {@inheritDoc} / |

See Also

 English