Module Image.Pixmap

type pixmap8 = (int, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array2.t
type pixmap16 = (int, Stdlib.Bigarray.int16_unsigned_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array2.t
type t =
  1. | Pix8 of pixmap8
  2. | Pix16 of pixmap16
val create8 : int -> int -> t
val create16 : int -> int -> t
val get : t -> int -> int -> int
val set : t -> int -> int -> int -> unit
val fill : t -> int -> unit
val copy : t -> t

copy t is a copy of t using a new memory allocation. This is useful when code out of your control may hold references to a pixmap, since pixmaps are mutable.

val compare : t -> t -> int