开发者

Method that resizes images(bitmap, jpeg, png, etc.)

开发者 https://www.devze.com 2022-12-13 06:37 出处:网络
I need a method that resizes an any kind of image like bitmap, jpeg, png. Maybe something like this: private void imageResize(Image img, int newHeight, int newWidth) That returns img? What ever works

I need a method that resizes an any kind of image like bitmap, jpeg, png. Maybe something like this: private void imageResize(Image img, int newHeight, int newWidth) That returns img? What ever works and I am able to call the method somewhere in my c开发者_运维知识库ode.


Have a look at this: http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing

Under 'Resizing'

0

精彩评论

暂无评论...
验证码 换一张
取 消