Rust Paint
Rust Paint is a program for automatically transferring images onto canvases in Rust.
The idea is simple. You load an image, select where the canvas and HEX color field are located, then the program prepares the image and starts drawing it automatically.
I made this mainly because drawing large images manually in Rust can be pretty painful, especially when there are a lot of colors and small details.
The program does not just click every pixel one by one. It processes the image first, groups colors, can reduce the palette, and tries to combine nearby pixels into horizontal lines so the drawing takes less time.
exe
RustPaint.exe15.06 Mb
What the program can do
Rust Paint already has quite a few features.
You can load images in these formats:
- PNG
- JPG
- JPEG
- BMP
- GIF
- WebP
You can also paste a direct image link and the program will download it for you.
A history of recently loaded URLs is saved. You can reopen an image, copy its URL, or remove it from the history.
Working with images
After loading an image, it is processed to fit the selected canvas size.
You can enable aspect ratio preservation so the image does not simply stretch across the entire area.
If aspect ratio preservation is disabled, the image will be resized to fully match the selected dimensions.
The program also shows some statistics:
- image size
- total pixel count
- amount of pixels that actually need to be drawn
- amount of transparent pixels
- number of colors
- number of lines
- number of color groups
Before starting, you can preview what the processed image will roughly look like.