且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过代码压缩图像

更新时间:2023-02-13 23:34:15

请参阅我对问题的评论,并且: http://en.wikipedia.org/wiki/Lossless_compression [ ^ ],

http://en.wikipedia.org/wiki/Image_compression [ ^ ]。



对于特定于图像和标准图像压缩算法的压缩,请参阅:

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

http://msdn。 microsoft.com/en-us/library/9t4syfhh.aspx [ ^ ],

http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imageformat.aspx [ ^ ]。



格式化,查找和阅读其规范,了解其压缩质量,压缩率与质量和其他相关属性。这个主题太大了,无法在快速回答中涵盖,但您可以轻松找到适合您目的的合理选择;只做一些最小的研究和实验。



-SA
Please see my comment to the question and this: http://en.wikipedia.org/wiki/Lossless_compression[^],
http://en.wikipedia.org/wiki/Image_compression[^].

For compression specific to images and standard image compression algorithms, please see:
http://msdn.microsoft.com/en-us/library/ms142147.aspx[^],
http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx[^],
http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imageformat.aspx[^].

In each format, find and read its specification, to learn about its compression quality, compression rate vs quality and other related properties. This topic is too big to cover in a Quick Answer, but you can easily find a reasonably good option for your purpose; just do some minimal research and experimenting.

—SA