package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Images of videos.

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 copy : t -> t
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 fill_alpha : t -> int -> unit
val scale : ?proportional:bool -> t -> t -> unit
val randomize : t -> unit
val blit : t -> t -> unit

blit_all src dst blits an entire image.

val get_pixel_rgba : t -> int -> int -> int * int * int * int
val set_pixel_rgba : t -> int -> int -> (int * int * int * int) -> unit
val add : t -> ?x:int -> ?y:int -> t -> unit

Add the fist image to the second.

module Effect : sig ... end
OCaml

Innovation. Community. Security.