ASP.NET中的图像压缩 [英] Image compression in ASP.NET
本文介绍了ASP.NET中的图像压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我和我的朋友一起在ASP.NET中设计一个网站,我想知道如何压缩图像并将其存储在数据库中,并且在从数据库中检索压缩图像时,应将其提取到其正常的内存大小.我想在我的项目中添加这样的dll吗?
Hi all,
I along with my friends designing a website in ASP.NET, I would like to know how an image can be compressed and stored in database, and while retrieving from the database compressed image should be extracted to its normal memory size. i would like to add such dlls in my project?
推荐答案
如果您真的需要压缩它.此代码项目文章将为您提供帮助:
使用内存中图像压缩技术的可压缩位图 [
if you really need to compress it. This code project article will help you:
Compressible Bitmap Using In-Memory Image Compressing Technique[^]
-Eduard
将图像保存到SQL Server 2000数据库中 [< ^ ]
Save An Image Into SQL Server 2000 Database[^]
this will be helpful think so
如果要压缩文件,请参考此链接
http://forums.asp.net/t/1086292.aspx [
If you want to zip the file refer this link
http://forums.asp.net/t/1086292.aspx[^]
Otherwise what Eduard had suggested go with that
这篇关于ASP.NET中的图像压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文