@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Interface SimpleImageData

    represents an ImageData with optional color space information.

    interface SimpleImageData {
        data: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>;
        colorSpace?: PredefinedColorSpace;
        height: number;
        width: number;
    }

    Hierarchy

    • Omit<ImageData, "colorSpace" | "data">
      • SimpleImageData
    Index

    Properties

    data: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>
    colorSpace?: PredefinedColorSpace
    height: number

    Returns the actual dimensions of the data in the ImageData object, in pixels.

    MDN Reference

    width: number

    Returns the actual dimensions of the data in the ImageData object, in pixels.

    MDN Reference