= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package camlimages
-
camlimages
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
RGBA 32 bit depth image format
type elt = Color.rgba
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 module IMAGE
in file 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