Skip to content

Caesium Command Line Tools - Lossy/lossless image compression tool

License

Notifications You must be signed in to change notification settings

Lymphatus/caesium-clt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --lossless -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 --lossless -e -o ~/output/ ~/image.jpg

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

$ caesiumclt --lossless -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 --lossless -RS -o ~/output/ ~/Pictures