Package com.itextpdf.kernel.pdf.filters
Class JpxDecodeFilter
- java.lang.Object
-
- com.itextpdf.kernel.pdf.filters.JpxDecodeFilter
-
- All Implemented Interfaces:
IFilterHandler
public class JpxDecodeFilter extends java.lang.Object implements IFilterHandler
Handles a JPXDecode filter. For now no modification applies and the data would be return as is (in JPEG2000 format).
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description JpxDecodeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
Decode the byte[] using the provided filterName.
-
-
-
Method Detail
-
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 decodedfilterName
- PdfName of the filterdecodeParams
- decode parametersstreamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[].- Returns:
- decoded byte array
-
-