FetchImageOptions

Properties

Link copied to clipboard
abstract var flipY: Boolean?

If true, image will be vertically flipped during decode. Only applies if the browser supports createImageBitmap. Default value - false

Link copied to clipboard
abstract var preferBlob: Boolean?

If true, we will load the image via a blob. Default value - false

Link copied to clipboard
abstract var preferImageBitmap: Boolean?

If true, image will be decoded during fetch and an ImageBitmap is returned. Default value - false

Link copied to clipboard

If true, any custom gamma or color profiles in the image will be ignored. Only applies if the browser supports createImageBitmap. Default value - false