我有一张图片,我想更改所述图片的宽度和高度。
(例如Width = 200 Height = 120
,我想将其更改为Width = 30 Height = 50
)
最好的方法是什么?
Bitmap original = (Bitmap)Image.FromFile("DSC_0002.jpg");
Bitmap resized = new Bitmap(original,new Size(newWidth,newHeight));
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句