Module Sesame.Image
val resize : float -> t -> t
Resizing images based on scaling the width to fit the argument and the height using the same scale factor
val from_file : Fpath.t -> t
from_file path
loads the image frompath
val to_file : ?quality:int -> t -> Fpath.t -> unit
to_file t path
will put the imaget
in a file atpath
-- thequality
option is used for jpeg images and default to60
val dither : ?mode:dither -> ?color:color -> ?levels:int -> t -> t
dither ~mode ~color t
will dither an image using the algorithm specified bymode
using the colors specified bycolor
module Transform : sig ... end