imgutils

Crates.ioimgutils
lib.rsimgutils
version0.1.3
sourcesrc
created_at2024-03-20 08:47:39.126772
updated_at2024-05-05 09:34:56.224175
descriptionCross-platform CLI for quickly parsing & manipulating images.
homepage
repositoryhttps://github.com/Blooym/imgutils
max_upload_size
id1180203
size94,717
Lyna (Blooym)

documentation

README

imgutils 🌸

Cross-platform command-line utility for quickly parsing & manipulating images powered by amazing crates like image-rs 💜

Installation

Cargo

The simplest way to install imgutils is via Cargo. Assuming you already have Cargo installed locally you can simply run following:

cargo install imgutils

Prebuilt binaries

Pre-built binaries are made available on the repository's Releases for as many platforms as possible. Simply grab the right release asset for your system and place it somewhere in your $PATH.

Other package manegrs

imgutils is not available from any other package manager at this time. 3rd party packaging is welcomed.

Usage

All commands that perform any permanent modifications to images are kept under the modify subcommand to provide a clear distinction. All other commands are either kept at the top-level or nested into subcommands when deemed appropriate.

Usage: imgutils <COMMAND>

Commands:
  details     Print detailed information about an image in a pretty format
  dimensions  Print an image's dimensions formatted as 'WidthxHeight'
  modify      A collection of commands that perform modifications to images
  help        Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help (see more with '--help')
  -V, --version  Print version

Features

Actions

  • Blur
  • Brighten
  • Constrast
  • Crop
  • Flip
  • Grayscale
  • Invert
  • Hue
  • Format
  • Resize
  • Rotate
  • Get Image Dimensions

Codecs

Sourced from the image-rs supported formats documentation.

  • AVIF
  • BMP
  • Farbfeld
  • GIF
  • HDR
  • ICO
  • JPEG
  • EXR
  • PNG
  • PNM
  • QOI
  • TGA
  • TIFF
  • WebP

License

This crate is dual-licensed under both the MIT License and Apache 2.0 license.

Commit count: 13

cargo fmt