Image.CanvasImageType of image module expected to build canvas.
val width : t -> intWidth of the image.
val height : t -> intHeight of the image.
val size : t -> intSize of the image in bytes.
val create : int -> int -> tCreate an image with given dimensions.
val blank : t -> unitClear the image.
val has_alpha : t -> boolWhether the image has alpha channel.
val fill_alpha : t -> int -> unitFill the alpha channel of the image.
val set_pixel_rgba : t -> int -> int -> Pixel.rgba -> unitSet the RGBA value of a pixel.
val randomize : t -> unitFill the image with random data.