FetchImageOptions
Properties
Link copied to clipboard
If true, we will load the image via a blob. Default value - false
Link copied to clipboard
If true, image will be decoded during fetch and an ImageBitmap
is returned. Default value - false
Link copied to clipboard
An object containing query parameters that will be sent when retrieving the resource.
Link copied to clipboard
The number of times the retryCallback should be called before giving up. Default value - 0
Link copied to clipboard
The Function to call when a request for this resource fails. If it returns true, the request will be retried.
Link copied to clipboard
If true, any custom gamma or color profiles in the image will be ignored. Only applies when requesting an image and the browser supports createImageBitmap
. Default value - false
Link copied to clipboard
Key/Value pairs that are used to replace template values (eg. {x}).