CaesiumCLT stands for Caesium Command Line Tool, a small, simple utility to perform lossy and lossless JPEG and PNG compression and optimization, based on mozjpeg and zopfli. Compared to other compression tool, CaesiumCLT is a good compromise between performance and speed - slightly favoring performace over speed.
It can be used in any Linux/Unix environment, even on servers, providing a simple, fast way to save space or write web based applications on top of it.
CaesiumPH is a GUI cross-platform software based on CaesiumCLT.
You will need both mozjpeg (libjpeg-turbo will work too) and zopflipng compiled as libraries to be able to compile CaesiumCLT. Refer to their own documentation for the detailed instructions.
TarballUnpack the archive, enter its directory and type:
$ ./configure $ make $ sudo make install
$ git clone https://github.com/Lymphatus/CaesiumCLT $ cd CaesiumCLT $ autoreconf -fiv $ ./configure $ make $ sudo make install
Usage examplesLosslessly compress image1.jpg, located in the home directory, into a folder called output
Losslessly compress image1.jpg, located in the home directory, into a folder called output and keeps EXIF metadata
$ caesiumclt -l -o ~/output/ ~/image.jpg
Losslessly compress Pictures folder and subfolders, located in the home directory, into a folder called output
$ caesiumclt -l -e -o ~/output/ ~/image.jpg
Compress image1.jpg, located in the home directory, into a folder called output with lossy compression and quality set to 80
$ caesiumclt -l -R -o ~/output/ ~/Pictures
$ caesiumclt -q 80 -o ~/output/ ~/image.jpg