pixels-cli

Crates.iopixels-cli
lib.rspixels-cli
version0.1.2
sourcesrc
created_at2024-02-28 00:11:30.779349
updated_at2024-02-28 18:20:21.613085
descriptionA simple image to webp optimization CLI
homepagehttps://revillod.dev/proyectos/pixels
repositoryhttps://github.com/MrRevillod/Pixels
max_upload_size
id1155915
size120,444
Luciano Revillod (MrRevillod)

documentation

README

Image optimization CLI

Optimize your images to webp with a simple CLI

Installation

cargo install pixels-cli

Usage

pixels-cli --input <input> --rename <filename> --quality <quality>

Options

  • --input or -i: The input file or directory

  • --rename or -r: The new filename, only new filename without extension

  • --quality or -q: The quality of the image, from 1 to 80 (default 80), can be higher until 100, but it's not recommended for small images because the file size will be too big.

Optional

If the name pixels-cli is too long for you, you can create an alias for the command, in this case for bash:

echo "alias your-alias=pixels-cli" >> ~/.bashrc
Commit count: 0

cargo fmt