interface ImageBitmap {
    height: number;
    width: number;
    close(): void;
}

Properties

Methods

Properties

height: number

Returns the intrinsic height of the image, in CSS pixels.

width: number

Returns the intrinsic width of the image, in CSS pixels.

Methods

  • Releases imageBitmap's underlying bitmap data.

    Returns void