This script normalizes borders around png files placed into ./input. Output is placed into ./output. It was created in order to fix borders and add gaps around custom UNO cards.
The inputed card image is:
- a png
- has a white area around it (can be uneven on all sides)
The process:
- cuts out the card
- resizes it