Manipulating Images
Image size and layout
Resize layer to the provided width and height, values are indicated in pixels. Omitting one dimension will cause the other to scale proportionally, for example 400 will resize the width to 400 and the height proportionally. When both dimensions are provided, the provided fit method will determine image fitting.
Fitting values are: crop (default) and stretch.
Crop layer to the provided rectangle. by default values are indicated in pixels. You can use advanced units and points to define the cropping rectangle, for example c,m,0.8em,0.8em will crop from the center 80% of width and 80% of height.
Round layer corners by size. 0(zero) indicating round to max. Values lower then 1 indicating percent of max, for example 0.2 rounds to 20% of max. Values bigger or equal to 1 indicate number of pixels.
Rotate the layer by angle degrees. Please remember layer size will change, to rotate and keep original size use the scale rotate param srotate.
Rotate the layer by angle degrees and scale to fit inside the original size.
Flips the layer on axis h (horizontal), v (vertical) or both hv.
Colors and Effects
Increase or decrease layer saturation to percent (em). For example 1.3 will increase saturation by 30%, 0.7 will decrease saturation by 30%.
Increase or decrease layer brightness to percent (em). For example 1.3 will increase brightness by 30%, 0.7 will decrease brightness by 30%.
Rotate layer hue color by angle 0 - 360.
Increase or decrease layer contrast by steps. Positive values will increase contrast, negative ones will decrease it. 0(zero) will normalize the layer contrast. For example 2 will increase the contrast by 2 steps.
Convert layer to grayscale.
Apply sepia filter to layer. recommended values are in the range of 0.8 - 1
Colorize the layer to color RRGGBB. The strength range 0.0 - 1.0 controls the effect strength.
Adjust the color curve of the layer. The start and end points of the curve are indicated in percentage 0.0 - 1.0. The channel parameter indicates on which channel to apply the effect, valid values are r | g | b | rgb | a, by default the effect is applied on all channels. For exmaple 0,0.7,r will change the red channel curve to 0 - 70%.
Invert layer colors or alpha channel. Use rgb to invert colors. Use alpha to invert alpha channel, transprent pixels will become opaque and vise versa.
Apply vignette effect to the current layer. The size and the offset are indicated in pixels. The color and alpha of the vignette is determined by the current background color. For example background=000000,0.6&vignette=50,20 will apply a 60% black vignette streching 50 pixels with 20 pixels offset.
Blur the layer. The blur size is indicated in pixels. For example use 100 to create a great hard blur effect.
Pixelate the layer. Size values larger then 1 indicate each square size in pixels, for example 12 indicates that each square will be 12 pixels. Values in the range 0.00 - 1.00 indicate the number of squares the layer will divided to, for example 0.10 will pixelate to 10 squares.
Add noise to the layer. supported noise types are laplacian, gaussian, mgaussian, impulse, poisson, random.
Enhance edges of the layer using the provided radius in pixels.
Apply simulated oil painting effect to the layer. Each pixel is replaced by the most frequent color occurring in a circular region defined by the radius.
Apply posterize effect to the layer. Reducing color levels to the provided value.
Apply charcole effect to the layer.
Smooths the current layer. Replacing each pixel with its neighbor closest in value within the provided radius. Keep in mind that radius values larger then 10 can be slow.
shadow=radius,offset x,offset y
Apply shadow to current layer. All values are indicated in pixels, the color and alpha of the shadow is determined by the current background color. For example background=000000,0.5&shadow=20,0,5, will apply a half transparent black shadow with 20 pixel radius and 5 pixel offset to the the bottom. Please note that the current layer size will extend by the shadow radius x 2.
Change current layer opacity. Valid values are 0.0 - 1.0.