Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.31k stars 202 forks source link

Can you explain little bit about how it works #278

Closed HakaishinShwet closed 1 month ago

HakaishinShwet commented 1 month ago

Just curious to know how compression with preserving quality will work and how effective it is compared to other similar solutions :-))

Lymphatus commented 1 month ago

If you want to have a bit more information you probably should look at https://github.com/Lymphatus/libcaesium, which is the library this tool is using. About the compression, it really depends on the format. For example, for JPEG I'm using mozjpeg, so it can compare pretty much 1on1 with other tool using it (there might be small differences, but not that much). For PNG it's oxypng or zopfli. Diving a bit into the library is the key to discover more about the compression methods.