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
Sourceval unsafe_access : t -> int -> int -> bytes * int Sourceval get_strip : t -> int -> int -> int -> bytes Sourceval set_strip : t -> int -> int -> int -> bytes -> unit Sourceval get_scanline : t -> int -> bytes Sourceval set_scanline : t -> int -> bytes -> unit Sourceval unsafe_set : t -> int -> int -> elt -> unit Sourceval blit : t -> int -> int -> t -> int -> int -> int -> int -> unit Sourceval map :
(elt -> elt -> elt) ->
t ->
int ->
int ->
t ->
int ->
int ->
int ->
int ->
unit Sourceval sub : t -> int -> int -> int -> int -> t