Index16
Indexed 16 bit depth image format
val to_rgba32 : ?failsafe:Color.rgba -> t -> Rgba32.t
to_rgb? ~failsafe t
: Image format conversion functions to Rgb24.t and Rgba32.t images. If the color for some pixel value is not defined, failsafe
color is used as default.
Generic functions.
Please read the comments of IMAGEINDEXED in genimage.mli
val dump : t -> bytes
val unsafe_access : t -> int -> int -> bytes * int
val get_strip : t -> int -> int -> int -> bytes
val set_strip : t -> int -> int -> int -> bytes -> unit
val get_scanline : t -> int -> bytes
val set_scanline : t -> int -> bytes -> unit
val destroy : t -> unit
val blocks : t -> int * int
val dump_block : t -> int -> int -> Bitmap.Block.t
val create : int -> int -> t