feat: MagickSetImageAlpha

This commit is contained in:
Daniel Rönnkvist
2020-04-24 13:41:14 +02:00
parent 3d52a9d89d
commit 8c8e0ce4ed

View File

@ -765,6 +765,9 @@ impl MagickWand {
MagickTransformImageColorspace => transform_image_colorspace( MagickTransformImageColorspace => transform_image_colorspace(
colorspace: bindings::ColorspaceType) colorspace: bindings::ColorspaceType)
// Sets the image to the specified alpha level.
MagickSetImageAlpha => set_image_alpha(alpha: 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)