I made this a few months ago when I was working on a sequel to MEGA_MATRIX. Working in KiCAD I wanted to use some bitmap images to put some graphics on the PCBs (logos). KiCAD has been going under some rapid changes, including a new footprint format.
The old scaler that someone made (an online service) didn't work for me so I went ahead and made my own. Done in Python. You can find the code here.