Click or drag to resize

IScaledDecoderReadScaled Method

Decodes an image to a specified scale.

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

Parameters

stream
Type: System.IOStream
The encoded image
frameIndex
Type: SystemInt32
The zero based frame index if the source image is multiframed
scaleFactor
Type: SystemDouble
The scale factor to request (ie. 0.5 is 1/2 scale, 1 is full scale)
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress callback

Return Value

Type: AtalaImage
See Also