设置图片DPI

//image 可以先转换为 bitmap
Bitmap bmp = new Bitmap(width, height);
bmp.SetResolution(300, 300);

 

posted @ 2021-11-12 15:16  212的s  阅读(146)  评论(0)    收藏  举报