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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static ByteBuffer
decode
(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
- aPDFObject
object.buf
- aByteBuffer
object.params
- aPDFObject
object.- Returns:
- a
ByteBuffer
object. - Throws:
PDFParseException
- if any.
-