Package com.itextpdf.kernel.pdf.filters
Class JpxDecodeFilter
java.lang.Object
com.itextpdf.kernel.pdf.filters.JpxDecodeFilter
- All Implemented Interfaces:
-
IFilterHandler
Handles a JPXDecode filter. For now no modification applies and the data would be return as is (in JPEG2000 format).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.
-
Constructor Details
-
JpxDecodeFilter
public JpxDecodeFilter()
-
-
Method Details
-
decode
public byte[] decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Description copied from interface:IFilterHandler
Decode the byte[] using the provided filterName.- Specified by:
-
decode
in interfaceIFilterHandler
- Parameters:
-
b
- the bytes that need to be decoded -
filterName
- PdfName of the filter -
decodeParams
- decode parameters -
streamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[]. - Returns:
- decoded byte array
-