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