Revert "feat: set_image_gray"

This reverts commit 517fd5ef5f.
This commit is contained in:
Daniel Rönnkvist
2020-04-22 08:42:10 +02:00
parent fefc89387d
commit 69020e40f7

View File

@ -743,14 +743,6 @@ impl MagickWand {
Ok(bytes) Ok(bytes)
} }
pub fn set_image_gray (&self) -> Result<(), &'static str> {
let result = unsafe { bindings::SetImageGray(self.wand) };
match result {
MagickBooleanType_MagickTrue => Ok(()),
_ => Err("Couldn't set image to gray")
}
}
mutations!( mutations!(
/// Set the image colorspace, transforming (unlike `set_image_colorspace`) image data in /// Set the image colorspace, transforming (unlike `set_image_colorspace`) image data in
/// the process. /// the process.