This is the python code I used to make my stamp. Mod it for your own use. Should be easy. Might have to pip some libraries.