Image.RGBA32
Operations on images stored in RGBA32 format (ie RGB channels + an alpha channel, one byte for each).
module Color : sig ... end
val width : t -> int
val height : t -> int
val dimensions : t -> int * int
val size : t -> int
val stride : t -> int
val create : int -> int -> t
val get_pixel_rgba : t -> int -> int -> Pixel.rgba
val set_pixel_rgba : t -> int -> int -> Pixel.rgba -> unit
val of_RGB24_string : string -> int -> t
val to_RGB24_string : t -> string
val to_int_image : t -> int array array
val to_BMP : t -> string
val of_PPM : ?alpha:RGB8.Color.t -> string -> t
val swap_rb : t -> unit
Swap red and blue channels. Useful for quickly handling BGRA formats.
val blank_all : t -> unit
val fill_alpha : t -> int -> unit
val blank : t -> unit
val randomize_all : t -> unit
val randomize : t -> unit
module Scale : sig ... end
module Effect : sig ... end
module Draw : sig ... end
module Motion : sig ... end