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
)
Public Function ReadScaled (
stream As Stream,
frameIndex As Integer,
scaleFactor As Double,
progress As ProgressEventHandler
) As AtalaImage
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:
AtalaImageImplements
IScaledDecoderReadScaled(Stream, Int32, Double, ProgressEventHandler)See Also