This article is a mirror article of machine translation, please click here to jump to the original article.

View: 31551|Reply: 3

[Source] C# large image compression algorithm to reduce the size of the image

[Copy link]
Posted on 8/24/2016 2:39:44 PM | | | |



Disclaimer:

Image compression algorithm, it is not recommended to compress small pictures, generally files are less than 1m, there is really no need to compress,

The picture is very small, for example: a few hundred KB of images, it may not reduce the size of the picture, but it is larger after compression, which is also normal.

Please use it reasonably, no, all pictures, the more compressed, the better!!!!

The above is my test of more than 2M images, the compression quality is set to 50, compressed to 800KB, enlarged and reduced to the original image, there is almost no difference.


The code is as follows:







Previous:Urgent need for C language tide calculation program
Next:File size Bytes to KB, MB, GB, TB units intelligent conversion
Posted on 2/7/2022 9:17:41 AM |
Thank you for sharing and learning
Posted on 2/7/2022 9:35:42 AM |

Thank you for sharing and learning
Posted on 9/24/2022 2:03:56 PM |
Prompt:Authors are banned or removed content is automatically blocked
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com