PdfFilter

Overview

PdfFilter is a interface in Aspose.PDF FOSS for Java.

Interface for PDF stream filters (§7.4, ISO 32000-1:2008).

This interface provides 3 methods for working with PdfFilter objects in Java programs. Available methods include: 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
namePdfNameReadReturns the canonical PDF name for this filter (e.g., {@code /FlateDecode}).

Methods

SignatureDescription
decode(encoded: byte[], params: PdfDictionary)byte[]Decodes (decompresses) the given data.
encode(decoded: byte[], params: PdfDictionary)byte[]Encodes (compresses) the given data.
getName()PdfNameReturns the canonical PDF name for this filter (e.g., {@code /FlateDecode}).

See Also