dlemstra wrote:
I am applying image.Unsharpmask(0, 5, 1, 0.05) to an image and displaying it and as of ver 7.0.0.0001 there's no change at all. Ofcourse I tried and just image.Unsharpmask(0, 5); still no luck..
The default parameters for amount and threshold are 1.0 and 0.05. I will add an overload that only needs two parameters the next release. You can compare the images with the Compare method to get the difference:Something got broken in Unshaprmask. Up to ver 6.8.9.601 it is working just fine, as of ver 7.0.0.0001 it does simply nothing.Why are you using the Unsharpmask method? What are you trying to accomplish?using (MagickImage image = new MagickImage("logo:")) { image.Unsharpmask(0, 5, 1.0, 0.05); // Next release// image.Unsharpmask(0, 5); // Save to file so you can see the result image.Write(@"C:\logo.png"); using (MagickImage other = new MagickImage("logo:")) { MagickErrorInfo info = image.Compare(other); Console.WriteLine(info.MeanErrorPerPixel); } }
I am applying image.Unsharpmask(0, 5, 1, 0.05) to an image and displaying it and as of ver 7.0.0.0001 there's no change at all. Ofcourse I tried and just image.Unsharpmask(0, 5); still no luck..