我正在调整位图图像的大小。结果是一幅质量下降的图片。我正在使用System.Graphics
进行缩放。
e.Graphics.DrawImage(image,new Rectangle(10, 250, (int)(0.6 * width), (int)(0.6 * height)), 0, 0, width, height, GraphicsUnit.Pixel);
发布于 2014-08-22 15:40:40
在绘制图像之前,应将插值模式设置为双三次插值:
e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
这种模式产生最高质量的转换图像。
https://stackoverflow.com/questions/25456983
复制相似问题