Common operations

These commands apply to image, text and solid color layers. They are also generally useful for composite images and simple, non-layered image requests.

op_blur

Blurs the layer.

op_brightness

Adjusts the layer brightness.

op_colorbalance

Adjusts red, green, blue independently.

op_colorize

Colorizes the layer data.

op_contrast

Adjusts the contrast.

op_hue

Shifts the hue of all colors.

op_invert

Invert colors.

op_noise

Adds noise to the layer.

op_saturation

Adjusts the color saturation.

op_sharpen

Applies simple sharpening.

op_usm

Applies unsharp-masking.

flip

Flips the layer horizontally and/or vertically.

rotate

Rotates the layer.

perspective

Perspective-transform the layer.

clipPath

Specifies clip shape(s) for the layer.

clipXPath

Specifies inverted clip shape(s) for the layer.

On this page