Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IImageOptionsBuilder2

interface IImageOptionsBuilder2
Extends IImageOptionsBuilder It extends IImageOptionsBuilder to provide additional configuration options for progressive rendering and resize method of an IImage.

Methods

progressiveRenderingEnabled()

void progressiveRenderingEnabled(bool progressiveRenderingEnabled)
Enables or disables progressive rendering for the image. Progressive rendering displays the image gradually as it’s downloaded, providing faster visual feedback compared to waiting for the full image. It allows users to see a low-resolution version of the image first, which progressively improves in quality. It is disabled by default.

Parameters

progressiveRenderingEnabled
bool — Required True to enable progressive rendering, false otherwise.

resizeMethod()

void resizeMethod(ResizeMethod resizeMethod)
Sets the resize method for the image. The resize method determines how the image is scaled when its dimensions don’t match the target size. The default value is ResizeMethod::AUTO.

Parameters

resizeMethod
ResizeMethod — Required The resize method ResizeMethod to use.
Last modified on October 29, 2026