0

I want to convert an image to grayscale using magickwand in GOIMAGICK, but which one should I use: BlurImage(radius, sigma float64) error or BrightnessContrastImage(brightness, contrast float64) error?

Sainath
  • 45
  • 4

1 Answers1

1

With ImageMagick MagickWand it goes like this:

  MagickQuantizeImage(image_wand,256,GRAYColorspace,0,MagickFalse,MagickFalse);

So, why not go for QuantizeImage?

Gerard H. Pille
  • 2,528
  • 1
  • 13
  • 17