2015-05-20 15:16:44 +02:00
## Caesium Command Line Tools
2015-10-16 09:39:05 +02:00
##### CCLT - v0.9.1-beta (build 20151012) - Copyright © Matteo Paonessa, 2015. All Rights Reserved.
2015-05-10 19:50:29 +02:00
2015-05-13 10:48:30 +02:00
----------
###### REQUIREMENTS
2015-09-11 23:52:04 +02:00
* [mozjpeg ](https://github.com/mozilla/mozjpeg )
* [zopfli ](https://github.com/google/zopfli )
* [lodepng ](https://github.com/lvandeve/lodepng )
2015-05-13 10:48:30 +02:00
----------
###### TESTED PLATFORMS
2015-10-16 09:39:05 +02:00
* MacOSX El Capitan (v. 10.11)
2015-09-07 10:06:36 +02:00
* Arch Linux
* Ubuntu 14.04.2
2015-05-13 10:48:30 +02:00
----------
###### INSTALLATION
2015-05-15 15:30:30 +02:00
See INSTALL for more details.
2015-05-13 10:48:30 +02:00
----------
2015-09-22 16:03:17 +02:00
###### 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```
----------
2015-05-13 10:48:30 +02:00
###### TODO
2015-09-11 23:52:04 +02:00
* Code cleaning
2015-09-22 16:03:17 +02:00
* Folder structure support
2015-05-13 10:48:30 +02:00
----------
2015-10-16 09:39:05 +02:00
###### 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
2015-12-27 19:24:44 +01:00
* It does not work on Windows unless you port getopt to it
2015-10-16 09:39:05 +02:00
----------
2015-05-13 10:48:30 +02:00
###### CHANGELOG
2015-09-21 21:06:57 +02:00
* 0.9.1-beta - Initial development stage
2015-05-13 10:48:30 +02:00
2015-09-22 16:03:17 +02:00
Check the [Commits ](https://github.com/Lymphatus/CaesiumCLT/commits/master ) for a detailed list of changes.
2015-05-13 10:48:30 +02:00
----------
###### RESOURCES
2015-05-13 11:06:26 +02:00
* 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 )
2015-09-07 10:06:36 +02:00
* Twitter - [Matteo Paonessa ](https://twitter.com/MatteoPaonessa )