package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val translate : t -> int -> int -> unit

Translate image.

val affine : t -> float -> float -> int -> int -> unit

Apply an affine transformation to an image.

val flip : t -> unit

Flip (mirror across horizontal axis).

val greyscale : t -> unit

Convert to greyscale.

val sepia : t -> unit

Convert to sepia colors.

val lomo : t -> unit

Lomo effect on colors (see http://en.wikipedia.org/wiki/Lomo_effect ).

val invert : t -> unit

Invert colors.

val rotate : t -> float -> unit

Rotate image by a given angle (in radians).

val mask : t -> t -> unit
val box_blur : t -> unit
module Alpha : sig ... end

Effects on alpha channel.

OCaml

Innovation. Community. Security.