## Caesium Command Line Tools ##### CCLT - v0.9.1-beta (build 20151012) - Copyright © Matteo Paonessa, 2015. All Rights Reserved. ---------- ###### REQUIREMENTS * [mozjpeg](https://github.com/mozilla/mozjpeg) * [zopfli](https://github.com/google/zopfli) * [lodepng](https://github.com/lvandeve/lodepng) ---------- ###### TESTED PLATFORMS * MacOSX El Capitan (v. 10.11) * Arch Linux * Ubuntu 14.04.2 ---------- ###### INSTALLATION See INSTALL for more details. ---------- ###### USAGE EXAMPLES ``` $ caesiumclt -l -o ~/output/ ~/image.jpg ``` Losslessly compress ```image1.jpg```, located in the ```home``` directory, into a folder called ```output``` ``` $ caesiumclt -q 80 -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 -e -o ~/output/ ~/image.jpg ``` Losslessly compress ```image1.jpg```, located in the ```home``` directory, into a folder called ```output``` and keeps EXIF metadata ``` $ caesiumclt -l -R -o ~/output/ ~/Pictures ``` Losslessly compress ```Pictures``` folder and subfolders, located in the ```home``` directory, into a folder called ```output``` ``` $ caesiumclt -q 80 -s 50% -o ~/output/ ~/image1.jpg ``` Compress with quality 80 and resize at 50% ```image1.jpg```, located in the ```home``` directory, into a folder called ```output``` ---------- ###### TODO * Code cleaning * Folder structure support ---------- ###### KNOWN ISSUES * Strange behaviour with network files: the output base_name is the name of the output subfolder (e.g. -o /path/to/images/compressed /path/to/images -> results in all the output images named as "compressed") * Resizing works only for powers of two (e.g. 50%, 25%, 16%...) and for JPEGs only * It does not work on Windows unless you port getopt to it ---------- ###### CHANGELOG * 0.9.1-beta - Initial development stage Check the [Commits](https://github.com/Lymphatus/CaesiumCLT/commits/master) for a detailed list of changes. ---------- ###### RESOURCES * Caesium website - [http://saerasoft.com/caesium](http://saerasoft.com/caesium) * CCLT Git Repository - [https://github.com/Lymphatus/CaesiumCLT](https://github.com/Lymphatus/CaesiumCLT) * Author website - SaeraSoft - [http://saerasoft.com](http://saerasoft.com) * Twitter - [Matteo Paonessa](https://twitter.com/MatteoPaonessa)