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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static byte[]
decode.protected static ByteBuffer
decode
(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
- aPDFObject
object.buf
- aByteBuffer
object.params
- aPDFObject
object.- Returns:
- a
ByteBuffer
object. - Throws:
IOException
- if any.
-
decode
decode.
- Parameters:
dict
- aPDFObject
object.source
- an array ofinvalid reference
byte
- Returns:
- an array of
invalid reference
byte
- Throws:
IOException
- if any.
-
getOptionFieldBytes
getOptionFieldBytes.
- Parameters:
dict
- aPDFObject
object.name
- aString
object.- Returns:
- an array of
invalid reference
byte
- Throws:
IOException
- if any.
-