Interface ImageBitmap

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

    Properties

    Methods

    Properties

    height: number

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

    MDN Reference

    width: number

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

    MDN Reference

    Methods

    • Releases imageBitmap's underlying bitmap data.

      MDN Reference

      Returns void