Module Image.RGBA32.Effect

module Effect: sig .. end

val translate : Image.RGBA32.t -> int -> int -> unit

Translate image.

val affine : Image.RGBA32.t -> float -> float -> int -> int -> unit

Apply an affine transformation to an image.

val flip : Image.RGBA32.t -> unit

Flip (mirror across horizontal axis).

val greyscale : Image.RGBA32.t -> unit

Convert to greyscale.

val sepia : Image.RGBA32.t -> unit

Convert to sepia colors.

val lomo : Image.RGBA32.t -> unit

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

val invert : Image.RGBA32.t -> unit

Invert colors.

val rotate : Image.RGBA32.t -> float -> unit

Rotate image by a given angle (in radians).

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

Effects on alpha channel.