Decodes JB2 document (Stream) into a set of images.

Namespace:  SautinSoft
Assembly:  SautinSoft.JBIG2 (in SautinSoft.JBIG2.dll) Version: 1.0.6.25 (1.0.6.25)

Syntax

      
 C#  Visual Basic 
public List<byte[]> DecodeToImages(
	Stream stream,
	bool embedded,
	JBIG2..::.OutputImageFormat outputImageFormat
)
Public Function DecodeToImages ( _
	stream As Stream, _
	embedded As Boolean, _
	outputImageFormat As JBIG2..::.OutputImageFormat _
) As List(Of Byte())

Parameters

stream
Stream
JB2 document as a Stream.
embedded
Boolean
Embedded.
outputImageFormat
JBIG2..::.OutputImageFormat
Output image format.

Return Value

A List<[byte]> with decoded page(s). Each page represented as a byte array.

See Also