如何在将数据库存入C#之前减小图像大小 [英] how do I reduce size of image before storing in database into C#
本文介绍了如何在将数据库存入C#之前减小图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将图像存储到数据库中,但其二进制数据的大小更多。由于这个原因我的数据库变得沉重。我可以将它保存在修复大小以减少我的数据库大小吗?
帮助我压缩图像
I am storing an image into database, but its binary data have more size. Due to this my database become heavy. Can i save it in fix size to reduce my database size?
Help me to compress image
推荐答案
请按照以下链接。它会帮助你
http://www.encodedna.com/2014/07/how-to-resize-an-image-using-aspdotnet-without-losing-quality.htm 一> [ ^ ]
http://www.aspdotnet-suresh.com/2011/05/how-to-resize-size-image-without-losing.html [ ^ ]
减少asp.net中的图像大小 [ ^ ]
Please follow below links . It will help you
http://www.encodedna.com/2014/07/how-to-resize-an-image-using-aspdotnet-without-losing-quality.htm[^]
http://www.aspdotnet-suresh.com/2011/05/how-to-resize-size-image-without-losing.html[^]
reduce image size in asp.net[^]
HI,请看一下这篇文章。
C#:图像调整大小,转换和保存 [ ^ ]
这个将帮助您解决问题。
please have a look at this article.
C#: Image resize, convert, and save[^]
This will help you to solve your problem.
这篇关于如何在将数据库存入C#之前减小图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文