Click or drag to resize

JpegDecoderGetBestScale Method

Gets the best scale given a requested scale factor. For a JPEG, this would result in either 1, 1/2, 1/4, 1/16, or 1/32

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 double GetBestScale(
	Stream stream,
	int frameIndex,
	double requestedScale
)

Parameters

stream
Type: System.IOStream
The encoded image stream
frameIndex
Type: SystemInt32
not used for JPEG's
requestedScale
Type: SystemDouble
The scale to request

Return Value

Type: Double

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

Implements

IScaledDecoderGetBestScale(Stream, Int32, Double)
See Also