Sourceval resize : (float -> unit) option -> t -> int -> int -> t resize progress t w h creates a resized image of t with size wxh. 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.
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 create_with_scanlines : int -> int -> Info.info list -> bytes array -> t Sourceval sub : t -> int -> int -> int -> int -> t