feat: modulate image

This commit is contained in:
Daniel Rönnkvist
2020-10-16 15:57:57 +02:00
parent 4aae82022e
commit 65903434cd

View File

@ -830,6 +830,9 @@ impl MagickWand {
// Sets the image to the specified alpha level. // Sets the image to the specified alpha level.
MagickSetImageAlpha => set_image_alpha(alpha: f64) MagickSetImageAlpha => set_image_alpha(alpha: f64)
// Control the brightness, saturation, and hue of an image
MagickModulateImage => modulate_image(brightness: f64, saturation: f64, hue: f64)
/// Set the image alpha channel mode. /// Set the image alpha channel mode.
MagickSetImageAlphaChannel => set_image_alpha_channel( MagickSetImageAlphaChannel => set_image_alpha_channel(
alpha_channel: bindings::AlphaChannelOption) alpha_channel: bindings::AlphaChannelOption)