This program calculates and draws "quads" on images in variuos input formats (for supported formats see the image crate).
Everything is completely customizable, from rgba tresholds to subdivide the quads to how to draw the quads.
For the latest tag check the release page
cargo install --git https://github.com/JacopoWolf/quadtree-over-media-rs.git --tag v1.0.0
NOTE: I don't suggest installing directly from the base branch (by not specifying a tag) because I'm lazy and develop directly in main
Below examples all add parameters to this base command:
quadtree-over-media -i Rainbow_in_Budapest.jpg -o rainbow-something.jpg
--color black |
--color blue --treshold FF0 |
--fill |
![]() |
![]() |
![]() |
--fill-with dog.jpg |
--fill --fill-with dog.jpg |
--fill --fill-with dog.jpg --treshold 000 |
![]() |
![]() |
![]() |
CC image from Wikipedia https://commons.wikimedia.org/wiki/File:Rainbow_in_Budapest.jpg