[][src]Module photon_rs::effects

Special effects.

Functions

__wasm_bindgen_generated_adjust_contrast

Adjust the contrast of an image by a factor.

__wasm_bindgen_generated_colorize

Colorizes the green channels of the image.

__wasm_bindgen_generated_horizontal_strips

Horizontal strips. Divide an image into a series of equal-height strips, for an artistic effect.

__wasm_bindgen_generated_inc_brightness

Increase the brightness of an image by a factor.

__wasm_bindgen_generated_multiple_offsets

Adds multiple offsets to the image by a certain number of pixels (on two channels).

__wasm_bindgen_generated_offset

Adds an offset to the image by a certain number of pixels.

__wasm_bindgen_generated_offset_blue

Adds an offset to the blue channel by a certain number of pixels.

__wasm_bindgen_generated_offset_green

Adds an offset to the green channel by a certain number of pixels.

__wasm_bindgen_generated_offset_red

Adds an offset to the red channel by a certain number of pixels.

__wasm_bindgen_generated_primary

Reduces an image to the primary colours.

__wasm_bindgen_generated_solarize

Applies a solarizing effect to an image.

__wasm_bindgen_generated_solarize_retimg

Applies a solarizing effect to an image and returns the resulting PhotonImage.

__wasm_bindgen_generated_tint

Tint an image by adding an offset to averaged RGB channel values.

__wasm_bindgen_generated_vertical_strips

Vertical strips. Divide an image into a series of equal-width strips, for an artistic effect.

adjust_contrast

Adjust the contrast of an image by a factor.

colorize

Colorizes the green channels of the image.

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 factor.

multiple_offsets

Adds multiple offsets to the image by a certain number of pixels (on two channels).

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.

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.