压缩和解压缩图像 [英] Compressing and Decompressing Images
问题描述
朋友,、、、
是否可以压缩图像并将其保存到数据库并解压缩并从数据库中显示回去 ......?
当我保存图像时,数据库大小继续增加.所以我想请教一下...
请在这方面帮助我...
作为前端的ASP.NET和作为数据库的SQL
Hi Friends,,,,,
Is it possible to Compress the images and save it to database and Decompress it and display it back from Database......?
As i m saving the images the database sizes goes on increasing. So i want to Comprees it...
Please help me in this regard...
ASP.NET as front end and SQL as Database
推荐答案
您可以使用文件流代替压缩/解压缩.
Instead compression/decompression you can use file stream.
"SQL Server has a file stream data type. This data type allows users to store content on the disk instead of the database as a real file."
请参阅下面的链接
http://technet.microsoft.com/en-us/library/bb933993 (v = sql.105).aspx [ http://www.simple-talk.com /sql/learn-sql-server/an-introduction-to-sql-server-filestream/ [ http://www.aspsnippets. com/articles/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASP.Net.aspx [ ^ ]
如何:使用SQL文件流 [ ^ ]
Refer below link
http://technet.microsoft.com/en-us/library/bb933993(v=sql.105).aspx[^]
http://www.simple-talk.com/sql/learn-sql-server/an-introduction-to-sql-server-filestream/[^]
http://www.aspsnippets.com/articles/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASP.Net.aspx[^]
How Do I: Use SQL File Stream[^]
http://forums.asp.net/t/1711359.aspx/1 [ ^ ]
图像压缩和解压缩 [ http://www.dotnetspider. com/forum/191964-how-can-we-compress-image-size-asp.net-using-c.aspx [
http://forums.asp.net/t/1711359.aspx/1[^]
image compression and decompression[^]
http://www.dotnetspider.com/forum/191964-how-can-we-compress-image-size-asp.net-using-c.aspx[^]
这篇关于压缩和解压缩图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!