Constants used be the MMR decoder.
const ( EOF = -3 EOL = -1 )
Decoder is the jbig2 mmr data decoder.
type Decoder struct {
// contains filtered or unexported fields
}
func New(r bitwise.StreamReader, width, height int, dataOffset, dataLength int64) (*Decoder, error)
New creates new jbig2 mmr decoder for the provided data stream.
func (m *Decoder) UncompressMMR() (b *bitmap.Bitmap, err error)
UncompressMMR decompress the stream value using MMR method. As a result returns the bitmap.Bitmap.