Sizing scripts I use for making pawns from various images. This can be used on Linux, Mac (I expect), and Windows with WSL installed. They require the ImageMagick commands "identify" and "convert" as well. I put the scripts in /usr/local/bin and make them executable.