package mm

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module RGBA32.EffectSource

Sourceval translate : t -> int -> int -> unit

Translate image.

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

Apply an affine transformation to an image.

Sourceval flip : t -> unit

Flip (mirror across horizontal axis).

Sourceval greyscale : t -> unit

Convert to greyscale.

Sourceval sepia : t -> unit

Convert to sepia colors.

Sourceval lomo : t -> unit

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

Sourceval invert : t -> unit

Invert colors.

Sourceval rotate : t -> float -> unit

Rotate image by a given angle (in radians).

Sourceval mask : t -> t -> unit
Sourceval box_blur : t -> unit
Sourcemodule Alpha : sig ... end

Effects on alpha channel.

OCaml

Innovation. Community. Security.