caesium-clt/README.md

77 lines
2.3 KiB
Markdown
Raw Normal View History

## 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
----------
###### REQUIREMENTS
* [mozjpeg](https://github.com/mozilla/mozjpeg)
* [zopfli](https://github.com/google/zopfli)
* [lodepng](https://github.com/lvandeve/lodepng)
----------
###### 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
----------
###### INSTALLATION
2015-05-15 15:30:30 +02:00
See INSTALL for more details.
----------
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```
----------
###### TODO
* Code cleaning
2015-09-22 16:03:17 +02:00
* Folder structure support
----------
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
----------
###### CHANGELOG
2015-09-21 21:06:57 +02:00
* 0.9.1-beta - Initial development stage
2015-09-22 16:03:17 +02:00
Check the [Commits](https://github.com/Lymphatus/CaesiumCLT/commits/master) for a detailed list of changes.
----------
###### 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)