1 unstable release

0.0.0 Oct 7, 2020

#68 in #manipulate

MIT license

155KB
260 lines

picturs

Command-line utility to manipulate image files

Description

picturs is a CLI utility that resizes and encode image files for multiple platforms, such as MacOS, Linux and Windows.

Installation

cargo install picturs

Usage

picturs [OPTIONS] <input_file> --target <target>

The only argument required is the input_file which should be a valid image file. Specs about the File Requirements.

Options

Short Long Usage Description
-o --output picturs -o icons/ The path to the output directory for your icons
-t --target picturs -t osx, windows The target OS for icon files

File Requirements

Depending on the target OS, your input file must match different sizes for picturs to process such file.

Target OS Target Minimum Expected Dimensions Format
macOS osx 512x512 PNG
Linux linux 16x16 PNG
Windows windows 256x256 PNG

Contributing

Contributions to this repository are welcome, feel free to open either an Issue or Pull Request.

License

Licensed under the MIT License

Dependencies

~5.5MB
~63K SLoC