sig
type elt = int
type rawimage
type t = {
width : int;
height : int;
rawimage : Index8.rawimage;
mutable infos : Info.info list;
mutable colormap : Color.rgb Color.map;
mutable transparent : int;
}
val to_rgb24 : ?failsafe:Color.rgb -> Index8.t -> Rgb24.t
val to_rgba32 : ?failsafe:Color.rgba -> Index8.t -> Rgba32.t
val dump : Index8.t -> string
val unsafe_access : Index8.t -> int -> int -> string * int
val get_strip : Index8.t -> int -> int -> int -> string
val set_strip : Index8.t -> int -> int -> int -> string -> unit
val get_scanline : Index8.t -> int -> string
val set_scanline : Index8.t -> int -> string -> unit
val unsafe_get : Index8.t -> int -> int -> Index8.elt
val unsafe_set : Index8.t -> int -> int -> Index8.elt -> unit
val get : Index8.t -> int -> int -> Index8.elt
val set : Index8.t -> int -> int -> Index8.elt -> unit
val unsafe_get_color : Index8.t -> int -> int -> Color.rgb
val get_color : Index8.t -> int -> int -> Color.rgb
val unsafe_get_rgb : Index8.t -> int -> int -> Color.rgb
val get_rgb : Index8.t -> int -> int -> Color.rgb
val destroy : Index8.t -> unit
val blit :
Index8.t -> int -> int -> Index8.t -> int -> int -> int -> int -> unit
val map :
(Index8.elt -> Index8.elt -> Index8.elt) ->
Index8.t -> int -> int -> Index8.t -> int -> int -> int -> int -> unit
val create_with :
int ->
int -> Info.info list -> Color.rgb Color.map -> int -> string -> Index8.t
val create : int -> int -> Index8.t
val make : int -> int -> Index8.elt -> Index8.t
val copy : Index8.t -> Index8.t
val sub : Index8.t -> int -> int -> int -> int -> Index8.t
end