Convert console command to c#
Posted: 2018-03-01T09:04:20-07:00
Hello,
I try to convert this console command:
To c#, now I'm have somthing like that,
But it still don't work as I expect. Can somebody help me with this? Propablly there is problem with:
I try to convert this console command:
Code: Select all
convert EWwSX.jpg -fuzz 40% -fill white +opaque black result.png
Code: Select all
image.ColorFuzz = (Percentage)40;
image.Settings.FillColor = MagickColors.White;
image.Opaque(MagickColors.Black, MagickColors.Black);
image.Write(@"C:\x.jpg");
Code: Select all
image.Opaque(MagickColors.Black, MagickColors.Black);