summaryrefslogtreecommitdiff
path: root/resize-pad-transparent.sh
blob: 4d81375245438a748020a0b1df862f5ccfc95bfb (plain) (blame)
1
2
# resize and pad image with transparency
convert -background none -gravity center image.png -resize 400x400 -extent 400x400 result.png