module Rgba32: sig
.. end
RGBA 32 bit depth image format
type
elt = Color.rgba
type
rawimage
type
t = {
}
val resize : (float -> unit) option -> t -> int -> int -> t
resize progress t w h
creates a resized image of t
with size w
xh
.
You can specify a progress meter function progress
, which takes
a float from 0 to 1.0.
Generic functions
Please read the comments of IMAGE in genimage.mli
val dump : t -> string
val unsafe_access : t -> int -> int -> string * int
val get_strip : t -> int -> int -> int -> string
val set_strip : t -> int -> int -> int -> string -> unit
val get_scanline : t -> int -> string
val set_scanline : t -> int -> string -> unit
val unsafe_get : t -> int -> int -> elt
val unsafe_set : t -> int -> int -> elt -> unit
val get : t -> int -> int -> elt
val set : t -> int -> int -> elt -> unit
val destroy : t -> unit
val blit : t -> int -> int -> t -> int -> int -> int -> int -> unit
val map : (elt -> elt -> elt) ->
t -> int -> int -> t -> int -> int -> int -> int -> unit
val create_with : int -> int -> Info.info list -> string -> t
val create : int -> int -> t
val make : int -> int -> elt -> t
val copy : t -> t
val sub : t -> int -> int -> int -> int -> t