interface ImageBitmapOptions
The options of createImageBitmap
.
Properties #
Specifies whether the image should be decoded using color space conversion. Either none or default (default). The value default indicates that implementation-specific behavior is used.
optional
#imageOrientation: ImageOrientation
Specifies how the bitmap image should be oriented.
optional
#premultiplyAlpha: PremultiplyAlpha
Specifies whether the bitmap's color channels should be premultiplied by the alpha channel. One of none, premultiply, or default (default).
optional
#resizeHeight: number
The output height.
optional
#resizeQuality: ResizeQuality
Specifies the algorithm to be used for resizing the input to match the output dimensions. One of pixelated, low (default), medium, or high.
optional
#resizeWidth: number
The output width.