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.74k stars 217 forks source link

Can caesium become a command line tool or dll for .net framework to invoke? #8

Closed suyanhanx closed 6 years ago

suyanhanx commented 6 years ago

I want to find a library to compress images for c#. Your caesium seems to have a good performance. I like to use it. But how to compile it to a library file?

Lymphatus commented 6 years ago

Hi,

Caesium is not meant as a library for .NET Framework in the first place. But this tool uses libcaesium which, unfortunately, is a C library. Instead, if you don't mind using a command line tool, you can try caesium-clt which is in a pretty good state. Actually there're no binaries available for the latest version, but I'm working on it. The fastest option - once I will make a binary release - would be to invoke caesium-clt from your application.

Let me know if you have any further question.

suyanhanx commented 6 years ago

Oh, thank you for your reply. I'll try to make a library from libcaesium firstly.

Waiting for your binary release.