Simple tool for coloring your icons

Hello everyone,

I recently implemented a dark mode in my Nextion project. This required me to recreate all icons in the new color theme. Doing this manually costs a lot of time. And if the result doesn’t look good - well you have to do all the work again.
For this reason I created a little python command line tool that does the job within seconds. Specify a folder with input files, one for the output files, and get your new icon set without any manual work.

The big limitation is that this only works if you have two colors (plus grading between those two colors). This script can’t recolor photos. However, I guess I’m not the only one who has icons that can be processed in this way.

Available here:
Edit: In the meantime I added example pictures to the readme so you can see how it actually looks.

Kind regards,