Module photon_rs::effects

source ·
Expand description

Special effects.

Functions

Adjust the contrast of an image by a factor.
Horizontal strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
Colorizes the green channels of the image.
Applies Floyd-Steinberg dithering to an image. Only RGB channels are processed, alpha remains unchanged.
Turn an image into an frosted glass see through
Horizontal strips. Divide an image into a series of equal-height strips, for an artistic effect.
Increase the brightness of an image by a factor.
Adds multiple offsets to the image by a certain number of pixels (on two channels).
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.
Adds an offset to the image by a certain number of pixels.
Adds an offset to the blue channel by a certain number of pixels.
Adds an offset to the green channel by a certain number of pixels.
Adds an offset to the red channel by a certain number of pixels.
Turn an image into an oil painting
Reduces an image to the primary colours.
Applies a solarizing effect to an image.
Applies a solarizing effect to an image and returns the resulting PhotonImage.
Tint an image by adding an offset to averaged RGB channel values.
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect.
Adjust the contrast of an image by a factor.
Horizontal strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect. Sepcify a color as well.
Colorizes the green channels of the image.
Applies Floyd-Steinberg dithering to an image. Only RGB channels are processed, alpha remains unchanged.
Turn an image into an frosted glass see through
Halftoning effect.
Horizontal strips. Divide an image into a series of equal-height strips, for an artistic effect.
Increase the brightness of an image by a factor.
Adds multiple offsets to the image by a certain number of pixels (on two channels).
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.
Adds an offset to the image by a certain number of pixels.
Adds an offset to the blue channel by a certain number of pixels.
Adds an offset to the green channel by a certain number of pixels.
Adds an offset to the red channel by a certain number of pixels.
Turn an image into an oil painting
Pixelize an image.
Reduces an image to the primary colours.
Applies a solarizing effect to an image.
Applies a solarizing effect to an image and returns the resulting PhotonImage.
Tint an image by adding an offset to averaged RGB channel values.
Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect.