Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/churchtao/imggen
imggen is a test image generation tool that can generate images of various sizes.
https://github.com/churchtao/imggen
Last synced: about 2 months ago
JSON representation
imggen is a test image generation tool that can generate images of various sizes.
- Host: GitHub
- URL: https://github.com/churchtao/imggen
- Owner: ChurchTao
- License: mit
- Created: 2024-08-28T04:22:57.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-28T13:29:19.000Z (4 months ago)
- Last Synced: 2024-09-29T05:56:01.351Z (3 months ago)
- Language: Rust
- Size: 383 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imggen
[![Latest version](https://img.shields.io/crates/v/imggen?color=mediumvioletred)](https://crates.io/crates/imggen)
[![Documentation](https://docs.rs/imggen/badge.svg)](https://docs.rs/imggen)
![MSRV](https://img.shields.io/badge/rustc-1.63+-blue.svg)
![GitHub License](https://img.shields.io/github/license/ChurchTao/imggen)imggen is a test image generation tool that can generate images of various sizes and colors.
## Usage
If you have Rust installed, you can install imggen with the following command:
```shell
cargo install imggen
```If you don't have Rust installed, you can download the binary from the [release page](https://github.com/ChurchTao/imggen/releases) and add it to your PATH.
```shell
# sample
imggen -w 1024 -h 768 -f png -n myimage -o ~/Desktop
``````log
# orUsage: imggen [OPTIONS]
Options:
-w, --width Sets the width of the image [default: 800]
-h, --height Sets the height of the image [default: 600]
-f, --format Sets the output format (png, jpg, etc.) [default: png]
-n, --filename Sets the output filename [default: output]
-o, --outdir Sets the output directory [default: .]
-h, --help Print help
-V, --version Print version
```## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.