COSFilter

Overview

COSFilter is a interface in Aspose.Pdf FOSS for Java.

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

Properties

NameTypeAccessDescription
nameCOSNameReadReturns the canonical PDF name for this filter (e.g., {@code /FlateDecode}).

Methods

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

See Also