Video.Image
Images of videos.
type t = Mm_image.Image.YUV420.t
val create : int -> int -> t
val of_RGB24_string : string -> int -> t
val to_int_image : t -> int array array
Convert to format useable by Graphics.make_image
.
val width : t -> int
val height : t -> int
val dimensions : t -> int * int
val size : t -> int
Size in bytes.
val blank : t -> unit
val has_alpha : t -> bool
val fill_alpha : t -> int -> unit
val randomize : t -> unit
val get_pixel_rgba : t -> int -> int -> int * int * int * int
val set_pixel_rgba : t -> int -> int -> (int * int * int * int) -> unit
module Effect : sig ... end