Click or drag to resize

IScaledDecoder Interface

This interface is applied to ImageDecoders that have the ability to decode an image stream to a specified scale.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public interface IScaledDecoder

The IScaledDecoder type exposes the following members.

Public methodGetBestScale
If the codec can efficiently generate a scaled image without actually resampling, this will return the closest scale given an input scale factor.
Public methodReadScaled
Decodes an image to a specified scale.
Decoders that apply this interface are capable of reading extremely large images without loading the full size image into memory.
See Also