Click or drag to resize

TiffDecoderReadScaled Method

Decodes an image to a specified scale.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.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
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

[Missing <returns> documentation for "M:Atalasoft.Imaging.Codec.TiffDecoder.ReadScaled(System.IO.Stream,System.Int32,System.Double,Atalasoft.Imaging.ProgressEventHandler)"]

Implements

IScaledDecoderReadScaled(Stream, Int32, Double, ProgressEventHandler)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionscaleFactor
See Also