Interface IImageOptions2
interface IImageOptions2
Extends IImageOptions
It extends IImageOptions with additional functionalities of progressive rendering and resize method of an IImage.
Methods
isProgressiveRenderingEnabled()
bool isProgressiveRenderingEnabled()
Indicates whether progressive rendering is enabled.
Progressive rendering allows displaying partial image data as it’s loaded progressively,
potentially improving perceived loading speed.
Returns
bool
true if progressive rendering is enabled, false otherwise
getResizeMethod()
ResizeMethod getResizeMethod()
Returns the resize method for the image.
The resize method determines how the image is scaled when its dimensions
don’t match the target size.
Returns
ResizeMethod
The current resize method

