import { type dom } from "https://deno.land/x/evt@v2.4.22/lib/types/index.ts";
const { ImageData } = dom;
The underlying pixel data of an area of a element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData().
Properties
Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.