pub fn clut_image(
        &self,
        clut_wand: &MagickWand,
        method: bindings::PixelInterpolateMethod,
    ) -> Result<(), &'static str> {
        let result = unsafe { bindings::MagickClutImage(self.wand, clut_wand.wand, method) };
        match result {
            bindings::MagickBooleanType_MagickTrue => Ok(()),
            _ => Err("failed to replace colors in the image from color lookup table"),
        }
    }
// Replaces colors in the image from a color lookup table.
Replaces colors in the image from a color lookup table.
Replaces colors in the image from a color lookup table .
pub fn clut_image(
        &self,
        clut_wand: &MagickWand,
        method: bindings::PixelInterpolateMethod,
    ) -> Result<(), &'static str> {
        let result = unsafe { bindings::MagickClutImage(self.wand, clut_wand.wand, method) };
        match result {
            bindings::MagickBooleanType_MagickTrue => Ok(()),
            _ => Err("failed to replace colors in the image from color lookup table"),
        }
    }
pub fn clut_image ( & self , clut_wand : & MagickWand , method : bindings :: PixelInterpolateMethod , ) -> Result < ( ) , & ' static str > { let result = unsafe { bindings :: MagickClutImage ( self . wand , clut_wand . wand , method ) } ; match result { bindings :: MagickBooleanType_MagickTrue => Ok ( ( ) ) , _ => Err ( " " ) , } }
Replaces colors in the image from a color lookup table.
Replaces colors in the image from a color lookup table .
&self
clut_wand
&MagickWand
method
bindings::PixelInterpolateMethod
&self
clut_wand
&MagickWand
method
bindings::PixelInterpolateMethod