imagelib
Image.Pixmap
imagelib.unix
type pixmap8 = (int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array2.t
type pixmap16 = (int, Bigarray.int16_unsigned_elt, Bigarray.c_layout) Bigarray.Array2.t
type t =
| Pix8 of pixmap8
| 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.
copy t
t
val compare : t -> t -> int