FilterFactory
Overview
FilterFactory is a class in Aspose.Pdf FOSS for Java.
Registry of PDF stream filters (§7.4, ISO 32000-1:2008).
Methods
| Signature | Description |
|---|---|
register(filter: COSFilter) | Registers a filter. |
getFilter(name: COSName) → COSFilter | Returns the filter for the given name. |
decodeChain(data: byte[], filters: List<COSName>, params: List<COSDictionary>) → byte[] | Decodes data through a chain of filters, applying them left-to-right |
| (§7.4.1: the first filter in the array is applied first during decoding). | |
encodeChain(data: byte[], filters: List<COSName>, params: List<COSDictionary>) → byte[] | Encodes data through a chain of filters, applying them right-to-left |
| (reverse of decode order). |