LZWFilter

Overview

LZWFilter is a class in Aspose.Pdf FOSS for Java. Inherits from: COSFilter.

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

Properties

NameTypeAccessDescription
nameCOSNameRead{@inheritDoc}
/

Methods

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

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

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

See Also