COSFilter
Overview
COSFilter is a interface in Aspose.Pdf FOSS for Java.
Interface for PDF stream filters (§7.4, ISO 32000-1:2008).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | COSName | Read | Returns the canonical PDF name for this filter (e.g., {@code /FlateDecode}). |
Methods
| Signature | Description |
|---|---|
decode(encoded: byte[], params: COSDictionary) → byte[] | Decodes (decompresses) the given data. |
encode(decoded: byte[], params: COSDictionary) → byte[] | Encodes (compresses) the given data. |
getName() → COSName | Returns the canonical PDF name for this filter (e.g., {@code /FlateDecode}). |