Add AlphaChannelOption type

This commit is contained in:
5ohue
2024-05-11 13:37:55 +03:00
parent 02ae78eba8
commit 092acaa5d0
5 changed files with 58 additions and 4 deletions

View File

@ -30,6 +30,7 @@ use crate::result::Result;
use super::{DrawingWand, PixelWand};
use crate::{
AlphaChannelOption,
ColorspaceType,
CompositeOperator,
DitherMethod,
@ -1142,8 +1143,7 @@ impl MagickWand {
MagickBrightnessContrastImage => brightness_contrast_image(brightness: f64, contrast: f64)
/// Set the image alpha channel mode.
MagickSetImageAlphaChannel => set_image_alpha_channel(
alpha_channel: bindings::AlphaChannelOption)
MagickSetImageAlphaChannel => set_image_alpha_channel(alpha_channel: AlphaChannelOption)
/// Discard all but one of any pixel color.
MagickUniqueImageColors => unique_image_colors()