https://github.com/studyresearchprojects/picturs
Command-line utility to manipulate image files
https://github.com/studyresearchprojects/picturs
cli icon icons image-processing resizing-images rust
Last synced: 6 months ago
JSON representation
Command-line utility to manipulate image files
- Host: GitHub
- URL: https://github.com/studyresearchprojects/picturs
- Owner: StudyResearchProjects
- License: mit
- Created: 2020-05-13T02:29:53.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-07T00:54:22.000Z (over 5 years ago)
- Last Synced: 2025-08-04T01:01:20.349Z (6 months ago)
- Topics: cli, icon, icons, image-processing, resizing-images, rust
- Language: Rust
- Homepage: https://crates.io/crates/picturs
- Size: 184 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
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
```bash
cargo install picturs
```
## Usage
`picturs [OPTIONS] --target `
The only argument required is the `input_file` which should be a valid image file. Specs
about the [File Requirements](https://github.com/estebanborai/picturs#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