Click or drag to resize

TiffDecoderRead Method (Stream, Int32, ProgressEventHandler)

Decodes an image from a supplied TIFF image Stream specifying a frame index.

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

Parameters

stream
Type: System.IOStream
A Stream containing the encoded image data.
frameIndex
Type: SystemInt32
The zero based frame index to load from a multi-page TIFF file.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: AtalaImage
Returns an decoded AtalaImage from a Stream containing a TIFF encoded image.

Return Value

Type: AtalaImage
Returns an decoded AtalaImage from a Stream containing a TIFF encoded image.
Exceptions
ExceptionCondition
Thrown if the image stream is not located at the beginning of a valid TIFF file.
Examples
TiffDecoder Class
See Also