Go to file
Matteo Paonessa e7fce9a9e8 Formatting 2024-12-27 20:50:45 +01:00
.github Fix CI and README badges 2024-12-27 20:32:22 +01:00
.idea Resize options added 2024-12-14 12:11:09 +01:00
docs Formatting 2024-12-27 20:50:45 +01:00
samples Basic tests and bugfixes 2024-12-21 09:55:26 +01:00
src CI and docs updates 2024-12-27 20:02:08 +01:00
.gitignore Basic working example (no resize, no convert) 2024-12-13 20:31:17 +01:00
CHANGELOG.md CI and docs updates 2024-12-27 20:02:08 +01:00
Cargo.lock Basic tests and bugfixes 2024-12-21 09:55:26 +01:00
Cargo.toml Basic tests and bugfixes 2024-12-21 09:55:26 +01:00
LICENSE.md Styling improvements and license 2018-01-01 17:17:33 +01:00
README.md Formatting 2024-12-27 20:50:45 +01:00
rustfmt.toml CI and docs updates 2024-12-27 20:02:08 +01:00

README.md

Caesium Command Line Tools

Test Clippy Code formatting

v1.0.0-beta.0

Development

Requirements

Build

cargo build --release

Usage

See full usage docs here.

Examples

Losslessly compress image1.jpg, located in the home directory, into a folder called output

$ caesiumclt -q 0 -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 -q 80 -o ~/output/ ~/image.jpg

Losslessly compress image1.jpg, located in the home directory, into a folder called output and keeps EXIF metadata

$ caesiumclt -q 0 -e -o ~/output/ ~/image.jpg

Losslessly compress Pictures folder and subfolders, located in the home directory, into a folder called output

$ caesiumclt -q 0 -R -o ~/output/ ~/Pictures

Losslessly compress Pictures folder and subfolders, located in the home directory, into a folder called output retaining the input folder structure

$ caesiumclt -q 0 -RS -o ~/output/ ~/Pictures