https://github.com/ii887522/image-generator
A CLI tool used to generate many sample images with different sizes and colors for testing purposes.
https://github.com/ii887522/image-generator
cli desktop generator image image-generator sample
Last synced: about 1 year ago
JSON representation
A CLI tool used to generate many sample images with different sizes and colors for testing purposes.
- Host: GitHub
- URL: https://github.com/ii887522/image-generator
- Owner: ii887522
- License: mit
- Created: 2021-05-09T11:12:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:13:42.000Z (over 3 years ago)
- Last Synced: 2025-05-05T05:04:03.468Z (about 1 year ago)
- Topics: cli, desktop, generator, image, image-generator, sample
- Language: Rust
- Homepage:
- Size: 2.78 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# image-generator
[](https://semver.org/)
[](https://svgshare.com/i/Zhy.svg)
[](https://svgshare.com/i/ZhY.svg)
[](https://www.rust-lang.org/)
[](https://lbesson.mit-license.org/)

A CLI tool used to generate many sample images with different sizes and colors for testing purposes.
## Table of contents
- [Prerequisites](https://github.com/ii887522/image-generator#prerequisites)
- [Format the project](https://github.com/ii887522/image-generator#format-the-project)
- [Automatically format the project on change](https://github.com/ii887522/image-generator#automatically-format-the-project-on-change)
- [Lint the project](https://github.com/ii887522/image-generator#lint-the-project)
- [Automatically lint the project on change](https://github.com/ii887522/image-generator#automatically-lint-the-project-on-change)
- [Build the vcpkg dependencies in the project](https://github.com/ii887522/image-generator#build-the-vcpkg-dependencies-in-the-project)
- [Build the project](https://github.com/ii887522/image-generator#build-the-project)
- [Automatically build the project on change](https://github.com/ii887522/image-generator#automatically-build-the-project-on-change)
- [Test the project](https://github.com/ii887522/image-generator#test-the-project)
- [Automatically test the project on change](https://github.com/ii887522/image-generator#automatically-test-the-project-on-change)
- [Run the project](https://github.com/ii887522/image-generator#run-the-project)
## Prerequisites
- Windows 11 or Linux
- [Visual Studio Code](https://code.visualstudio.com/) with plugins:
- Better TOML
- CodeLLDB
- EditorConfig for VS Code
- GLSL Lint
- Markdown All in One
- rust-analyzer
- Shader languages support for VS Code
- YAML
- [Rust 1.61.0](https://www.rust-lang.org/) and later
- [rustfmt 1.4.38](https://github.com/rust-lang/rustfmt) and later
- [clippy 0.1.60](https://github.com/rust-lang/rust-clippy) and later
- [cargo-watch 8.1.1](https://github.com/watchexec/cargo-watch) and later
- [cargo-vcpkg 0.1.6](https://crates.io/crates/cargo-vcpkg) and later
## Format the project
```sh
cargo fmt
```
## Automatically format the project on change
```sh
cargo watch -x fmt
```
## Lint the project
```sh
cargo clippy --all-features
```
## Automatically lint the project on change
```sh
cargo watch -x "clippy --all-features"
```
## Build vcpkg dependencies in the project
```sh
cargo vcpkg build
```
## Build the project
```sh
cargo build
```
## Automatically build the project on change
```sh
cargo watch -x build
```
## Test the project
```sh
cargo test
```
## Automatically test the project on change
```sh
cargo watch -x test
```
## Run the project
```sh
cargo run
```