Hello,
I was implemented below code to crop a circle image that was worked fine but now this code is not cropping the image and it's draw blank circle.
MagickReadSettings settings = new MagickReadSettings();
settings.Width = 200;
settings.Height = 200;
using (MagickImage image = new MagickImage("xc:none", settings))
{
using (MagickImage fill = new MagickImage(@"D:\pic\Images\pic1.png"))
{
fill.Resize(200, 200);
image.FloodFill(fill, 0, 0);
}
DrawableCircle dc = new DrawableCircle(200, 200, 200,1);
image.Draw(dc);
image.Write(@"D:\pic\\Images\circle_thumb.png");
}
We need any help to resolve this issues ASPS
I was implemented below code to crop a circle image that was worked fine but now this code is not cropping the image and it's draw blank circle.
MagickReadSettings settings = new MagickReadSettings();
settings.Width = 200;
settings.Height = 200;
using (MagickImage image = new MagickImage("xc:none", settings))
{
using (MagickImage fill = new MagickImage(@"D:\pic\Images\pic1.png"))
{
fill.Resize(200, 200);
image.FloodFill(fill, 0, 0);
}
DrawableCircle dc = new DrawableCircle(200, 200, 200,1);
image.Draw(dc);
image.Write(@"D:\pic\\Images\circle_thumb.png");
}
We need any help to resolve this issues ASPS