# 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 Add the following content to your `Cargo.toml`: ```shell # sample imggen -w 1024 -h 768 -f png -n myimage -o ~/Desktop ``` ```log # or Usage: 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.