Click or drag to resize

Jb2DecoderRead Method (Stream, Int32, ProgressEventHandler)

Decodes a JBIG2 image from a stream and returns an AtalaImage with the decoded image data.

Namespace:  Atalasoft.Imaging.Codec.Jbig2
Assembly:  Atalasoft.dotImage.Jbig2 (in Atalasoft.dotImage.Jbig2.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override AtalaImage Read(
	Stream stream,
	int frameIndex,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream to read.
frameIndex
Type: SystemInt32
progress
Type: Atalasoft.ImagingProgressEventHandler
A progress Delegate. Pass in null (Nothing in VB, 0 in C++) to ignore progress events.

Return Value

Type: AtalaImage
Returns an AtalaImage containing the decoded JBIG2 image.
Exceptions
ExceptionCondition
Thrown if there is an error reading the image data.
Remarks
Overrides an abstract method in ImageDecoder.
See Also