Package org.loboevolution.pdfview.decode
Class JBig2Decode
java.lang.Object
org.loboevolution.pdfview.decode.JBig2Decode
**************************************************************************
Decoder for jbig2 images within PDFs.
Copied from
...
Problem is also described in: ...
- Since:
- 17.11.2010 **************************************************************************
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static byte[]decode.protected static ByteBufferdecode(PDFObject dict, ByteBuffer buf, PDFObject params) decode.static byte[]getOptionFieldBytes(PDFObject dict, String name) getOptionFieldBytes.
-
Constructor Details
-
JBig2Decode
public JBig2Decode()
-
-
Method Details
-
decode
protected static ByteBuffer decode(PDFObject dict, ByteBuffer buf, PDFObject params) throws IOException decode.
- Parameters:
dict- aPDFObjectobject.buf- aByteBufferobject.params- aPDFObjectobject.- Returns:
- a
ByteBufferobject. - Throws:
IOException- if any.
-
decode
decode.
- Parameters:
dict- aPDFObjectobject.source- an array ofobjects.invalid reference
byte- Returns:
- an array of
objects.
invalid reference
byte - Throws:
IOException- if any.
-
getOptionFieldBytes
getOptionFieldBytes.
- Parameters:
dict- aPDFObjectobject.name- aStringobject.- Returns:
- an array of
objects.
invalid reference
byte - Throws:
IOException- if any.
-