Take a screenshot of screen every second, and save it as a .png
image if it contains a red pixel.
- Download whichever
sciter
library corresponds to your operating system from this repository.
On Windows x64, for instance, it would be located in https://github.com/c-smile/sciter-sdk/tree/master/bin.win/x64
and would be named sciter.dll
.
-
Plop it into the same folder with the contents of this repository.
-
Create a folder named
unique_screenshots
in this same folder. -
Ensure the Rust toolchain is installed and run
cargo run --release
.
Adjust the sliders to control the thresholds to determine how "red" a pixel must be to trigger a screenshot.
- The pixel's red value must be AT LEAST as great as the red slider.
- The pixel's green and blue values must be LESS THAN (or equal to) the green and blue sliders.
- To be so specific that only a perfectly red pixel
rgb(255, 0, 0)
triggers a screenshot, leave slider values as-is.
This Reddit thread.