如何在VB.Net中压缩图像 [英] How to compresse image in VB.Net

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

问题描述

我正在使用VB.NET和MySQL数据库。我将照片保存到数据库。

我想通过代码压缩成小的。

如何在VB.Net中将大尺寸图像压缩成小尺寸图像?

例如照片大小为3M,我想将其压缩到0.5M

请帮忙。

解决方案

< blockquote>检查以下内容

http:// stackoverflow.com/questions/11244752/resizing-compressing-and-smoothing-images-with-vb-net [ ^ ]

http://msdn.microsoft.com/en-us/library/bb882583.aspx [ ^ ]


查看以下内容g提示:使用.NET动态调整图像大小 [ ^ ]

I am using VB.NET with MySQL database. I save the photo to database.
I want to compress into the small one by code.
How can I compress big size image to small size image in VB.Net?
For example the photo has size 3M, I want to compress it into 0.5M
Please help.

解决方案

Check followings
http://stackoverflow.com/questions/11244752/resizing-compressing-and-smoothing-images-with-vb-net[^]
http://msdn.microsoft.com/en-us/library/bb882583.aspx[^]


Have a look at the following Tip: Resizing an Image On-The-Fly using .NET[^]


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

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