Click or drag to resize

RawDecoderReadScaled Method

Similar to Read but also scales the output in the most efficient way possible.

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

Parameters

stream
Type: System.IOStream
Input stream
frameIndex
Type: SystemInt32
frame which to read
scaleFactor
Type: SystemDouble
desired scale factor
progress
Type: Atalasoft.ImagingProgressEventHandler
A progress Delegate. Pass in null (Nothing in VB) to ignore progress events.

Return Value

Type: AtalaImage
An AtalaImage containing the decoded RAW image.

Implements

IScaledDecoderReadScaled(Stream, Int32, Double, ProgressEventHandler)
Remarks
The RawDecoder's Policy property determines the safety of this function.
See Also