From 88ceb3a4af33ab524a2d4ee959688a5f8e3617b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20=C5=9Awi=C4=99cicki?= Date: Fri, 18 May 2018 13:51:28 +0000 Subject: [PATCH] Add set_image_alpha_channel function --- src/wand/magick.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wand/magick.rs b/src/wand/magick.rs index 343b192..28bd0b0 100644 --- a/src/wand/magick.rs +++ b/src/wand/magick.rs @@ -538,6 +538,10 @@ impl MagickWand { MagickTransformImageColorspace => transform_image_colorspace( colorspace: bindings::ColorspaceType) + /// Set the image alpha channel mode. + MagickSetImageAlphaChannel => set_image_alpha_channel( + alpha_channel: bindings::AlphaChannelOption) + /// Reduce the number of colors in the image. MagickQuantizeImage => quantize_image( number_of_colors: size_t, colorspace: bindings::ColorspaceType,