Click or drag to resize

JpegDecoderReadScaled Method

Gets an AtalaImage of the requested 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
public AtalaImage ReadScaled(
	Stream stream,
	int frameIndex,
	double scaleFactor,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The encoded image
frameIndex
Type: SystemInt32
Not used for JPEG's
scaleFactor
Type: SystemDouble
The scale factor
progress
Type: Atalasoft.ImagingProgressEventHandler
A progress delegate

Return Value

Type: AtalaImage

Implements

IScaledDecoderReadScaled(Stream, Int32, Double, ProgressEventHandler)
See Also