ImageBitmapOptions
interface
interface ImageBitmapOptionsThe options of createImageBitmap.
Properties
colorSpaceConversion
colorSpaceConversion?: ColorSpaceConversionSpecifies 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.
imageOrientation
imageOrientation?: ImageOrientationSpecifies how the bitmap image should be oriented.
premultiplyAlpha
premultiplyAlpha?: PremultiplyAlphaSpecifies whether the bitmap's color channels should be premultiplied by the alpha channel. One of none, premultiply, or default (default).
resizeHeight
resizeHeight?: numberThe output height.
resizeQuality
resizeQuality?: ResizeQualitySpecifies the algorithm to be used for resizing the input to match the output dimensions. One of pixelated, low (default), medium, or high.
resizeWidth
resizeWidth?: numberThe output width.