Sorry, I never received a notice that you replied.
Attached is my image.
TEXT
I tried the following code changes. STILL no luck.
Attached is my image.
TEXT
I tried the following code changes. STILL no luck.
using (MagickImage resize = new MagickImage(folder + filename))
{
Single DPIChangeRatio = Convert.ToSingle(density) / Convert.ToSingle(res.X);
resize.VirtualPixelMethod = VirtualPixelMethod.Transparent;
resize.Resize(Convert.ToInt32(Convert.ToSingle(resize.Width) * DPIChangeRatio), Convert.ToInt32(Convert.ToSingle(resize.Height) * DPIChangeRatio));
resize.Resample(density, density);
resize.Density = new Density(density, density, DensityUnit.PixelsPerInch);
filename = Guid.NewGuid().ToString() + System.IO.Path.GetExtension(filename);
resize.Write(folder + filename);
}