Module Mm_image.ImageRGBA32
module Color : sig ... end
type data =
(int, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout)
Stdlib.Bigarray.Array1.t
type t = {
data : data;
width : int;
height : int;
stride : int;
}
val dimensions : t -> int * int
val make : ?stride:int -> int -> int -> data -> t
val create : int -> int -> t
val blit_off : t -> t -> int -> int -> bool -> unit
val blit_off_scale : t -> t -> (int * int) -> (int * int) -> bool -> unit
val blit_all : t -> t -> unit
val blit :
?blank:bool ->
?x:int ->
?y:int ->
?w:int ->
?h:int ->
t ->
t ->
unit
val blank_all : t -> unit
val fill_alpha : t -> int -> unit
val of_RGB24_string : string -> int -> t
val get_pixel : t -> int -> int -> Color.t
val set_pixel : t -> int -> int -> Color.t -> unit
val get_pixel_rgba : t -> int -> int -> Color.t
val set_pixel_rgba : t -> int -> int -> Color.t -> unit
val randomize_all : t -> unit
val randomize : t -> unit
module Scale : sig ... end
val scale : ?proportional:bool -> t -> t -> unit
val to_RGB24_string : t -> string
val of_PPM : ?alpha:(int * int * int) -> string -> t
val to_int_image : t -> int array array
val add_fast : t -> t -> unit
val add_off : t -> t -> int -> int -> unit
val add_off_scale : t -> t -> (int * int) -> (int * int) -> unit
val add : ?x:int -> ?y:int -> ?w:int -> ?h:int -> t -> t -> unit
module Draw : sig ... end