Documentation ¶
Overview ¶
Package decoder provides primitives used to decode the jbig2 data stream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder is the structure used to decode JBIG2 encoded byte streams.
func Decode ¶
Decode prepares decoder for the jbig2 encoded 'input' data, with optional 'parameters' and optional Globally encoded data segments - 'globals'.
func (*Decoder) DecodeNextPage ¶
DecodeNextPage decodes next jbig2 encoded page and returns decoded byte stream
func (*Decoder) DecodePage ¶
DecodePage decodes jbig2 encoded page for provided 'pageNumber' in the document.
func (*Decoder) DecodePageImage ¶
DecodePageImage decodes page with 'pageNumber' from the document and stores it's result within go image.Image.
type Parameters ¶
Parameters are the parameters used by the jbig2 decoder.
Directories ¶
Path | Synopsis |
---|---|
Package arithmetic contains the jbig2 arithmetic decoder used to decode the jbig2 encoded segments.
|
Package arithmetic contains the jbig2 arithmetic decoder used to decode the jbig2 encoded segments. |
Package huffman contains jbig2 huffman tables used to decode jbig2 encoded data segments.
|
Package huffman contains jbig2 huffman tables used to decode jbig2 encoded data segments. |
Package mmr contains the jbig2 mmr decoder used to decode jbig2 encoded data segments.
|
Package mmr contains the jbig2 mmr decoder used to decode jbig2 encoded data segments. |
Click to show internal directories.
Click to hide internal directories.