Package org.loboevolution.pdfview.decode
Class JPXDecode
java.lang.Object
org.loboevolution.pdfview.decode.JPXDecode
decode a JPX encoded imagestream into a byte array. This class uses Java's
image_io JPEG2000 reader to do the decoding.
Author Bernd Rosstauscher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ByteBufferdecode(PDFObject dict, ByteBuffer buf, PDFObject params) decode.
-
Constructor Details
-
JPXDecode
public JPXDecode()
-
-
Method Details
-
decode
protected static ByteBuffer decode(PDFObject dict, ByteBuffer buf, PDFObject params) throws PDFParseException decode.
- Parameters:
dict- aPDFObjectobject.buf- aByteBufferobject.params- aPDFObjectobject.- Returns:
- a
ByteBufferobject. - Throws:
PDFParseException- if any.
-