Add a white borderPassed
Add a 40 pixel white border around hopper.png and save it as framed.png.
deft image pad hopper.png --border 40 -o framed.png
Input
hopper.png 29.9 KB · 128x128

Output
framed.png 35.8 KB · 208x208

Automatic checks (1)
- python: code = "from PIL import Image; a = Image.open('hopper.png'); b = Image.open('framed.png'); assert b.size == (a.width + 80, a.height + 80)"