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.