Module effects

Source
Expand description

Special effects.

Functionsยง

adjust_brightness
Adjust the brightness of an image by a factor.
adjust_contrast
Adjust the contrast of an image by a factor.
color_horizontal_strips
Horizontal strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
color_vertical_strips
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
colorize
Colorizes the green channels of the image.
dec_brightness
Decrease the brightness of an image by a constant.
dither
Applies Floyd-Steinberg dithering to an image. Only RGB channels are processed, alpha remains unchanged.
duotone
frosted_glass
Turn an image into an frosted glass see through
halftone
Halftoning effect.
horizontal_strips
Horizontal strips. Divide an image into a series of equal-height strips, for an artistic effect.
inc_brightness
Increase the brightness of an image by a constant.
multiple_offsets
Adds multiple offsets to the image by a certain number of pixels (on two channels).
normalize
Normalizes an image by remapping its range of pixels values. Only RGB channels are processed and each channel is stretched to [0, 255] range independently. This process is also known as contrast stretching.
offset
Adds an offset to the image by a certain number of pixels.
offset_blue
Adds an offset to the blue channel by a certain number of pixels.
offset_green
Adds an offset to the green channel by a certain number of pixels.
offset_red
Adds an offset to the red channel by a certain number of pixels.
oil
Turn an image into an oil painting
pixelize
Pixelize an image.
primary
Reduces an image to the primary colours.
solarize
Applies a solarizing effect to an image.
solarize_retimg
Applies a solarizing effect to an image and returns the resulting PhotonImage.
tint
Tint an image by adding an offset to averaged RGB channel values.
vertical_strips
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect.