Pixelates the image creating a mosaic like effect.
Arguments:
- size
- The number of pixels squared, that should be combined to one block. Default: 2
- Example:
.. literalinclude:: code/block.txt
Applies a blur effect.
Arguments:
Applies a rectangular border around the image.
Arguments:
- width
- The width of the border in pixels. Default: 2
- color
- The color of the border as a decimal or hexadecimal number. Default: 0 / 0x000000 (black)
- Example:
.. literalinclude:: code/border.txt
Applies an embossing effect on the image.
No arguments
Creates a grayscale variant of the image.
No arguments
Inverts the colors in the image.
No arguments
Rounds the corners of the image, with an option of adding a border around the rounded image.
Arguments:
- radius
- The number of pixels from each corner where the rounding starts. Default: 10
- borderSize
- The width of the border in pixels. Default: 0
- borderColor
- The color of the border as a decimal or hexadecimal number. Default: 0 / 0x000000 (black)
- Example:
.. literalinclude:: code/rounded.txt
Applies a sharpening filter to the image.
No arguments
Adjust the red, green and blue levels in the image.
Arguments:
- red
- The adjusted red level for the image. Default: 0
- green
- The adjusted green level for the image. Default: 0
- blue
- The adjusted blue level for the image. Default: 0
- Example:
.. literalinclude:: code/rgbadjust.txt
Adjust the hue, saturation and brightness levels in the image.
Arguments:
- hue
- Value from -1 to 1, of how far around the color wheel to move the hue of the image. Default: 0
- saturation
- Value from -1 to 1 to adjust the intesity of the colors in the image. Default: 0
- brightness
- Value from -1 to 1 to adjust the brightness of the image. Default: 0
- Example:
.. literalinclude:: code/hsbadjust.txt
Creates an abstract image by brightening every edge and darkening every even surface of the image.
No arguments
Creates a 3D looking texture, based on darkening and lighting each side of edges in the image.
No arguments
Creates a grayscale image with a yellow-reddish tint to make it look like an old photograph.
Arguments:
Rotates an image 90 degrees
No arguments
Rotates an image 180 degrees
No arguments
Rotates an image 270 degrees
No arguments
Flips an image horizontally
No arguments
Flips an image vertically
No arguments
Makes a grayscale image, then applies a tint, based on the specified color.
Arguments:
- red
- Red boost value. Default: 1
- green
- Green boost value. Default: 1
- blue
- Blue boost value. Default: 1
- Example:
.. literalinclude:: code/colorize.txt
Makes a grayscale image, then applies a tint, based on the specified color.
Arguments: