This project has moved. For the latest updates, please go here.

Missing documentation

Oct 6, 2016 at 7:35 AM
I am tryng do call
OutputImage.Morphology(MorphologyMethod.Close, Kernel.UserDefined, "0,1,1,0")
but i dont know the string sintax of third parameter .Somebody can help me ?
thanks
Coordinator
Oct 6, 2016 at 8:30 AM
You can find a lot of information about Morphology here: http://www.imagemagick.org/Usage/morphology/
Oct 6, 2016 at 4:06 PM
Indeed I used "1x4:0,1,1,0" as seen on link ,but Morphology method throw execption "unable to parse kernel" .
So I think that or is a bug in string parser or the syntax is different .
Thanks
Coordinator
Oct 10, 2016 at 5:45 PM
I was able to use the following syntax:
using (MagickImage image = new MagickImage("logo:"))
{
  image.Morphology(MorphologyMethod.Close, "3:  0.3,0.6,0.3   0.6,1.0,0.6   0.3,0.6,0.3");
}
I copied that straight from the example page I posted earlier. What is your goal? What kind of kernel do you want to create?