如何在WPF应用程序中压缩图像 [英] How to Compress an image in WPF application

查看:71
本文介绍了如何在WPF应用程序中压缩图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


谁能帮我这个忙.
我想按用户指定的百分比(%)压缩图像.在WPF应用程序中.

在此先感谢

Hi ,
Can anyone help me on this.
i want to compress an image by user given percentage(%). in WPF application.

Thanks in advance

推荐答案

尝试
http://www.c-sharpcorner.com/uploadfile/rahuldebray /compress-image-to-a-given-size/ [ http://wpftutorial.net/Images.html [ http://www.componentsource.com/features/image-conversion/net-components/index.html [^ ]
Try
http://www.c-sharpcorner.com/uploadfile/rahuldebray/compress-image-to-a-given-size/[^]
http://wpftutorial.net/Images.html[^]

Here is a list of third party components that you could use.
http://www.componentsource.com/features/image-conversion/net-components/index.html[^]


我相信您想要像ms paint提供的东西.调整图像大小并以缩小的尺寸保存.如果需要的话,请看
http://stackoverflow.com/questions/11137979/image-resizing-using-c-sharp [ ^ ].它对我有用:)

问候
I believe you want something like the ms paint offers. Resize the image and save it with reduced size. If that is what you need have a look at
http://stackoverflow.com/questions/11137979/image-resizing-using-c-sharp[^]. It worked for me :)

regards,


这篇关于如何在WPF应用程序中压缩图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆