Couple of years ago I was using this line:
Code: Select all
mogrify -format png -alpha off -bordercolor Black -border 1 -alpha on *.png
I looked a bit and found about the Compose option and I tried this:
Code: Select all
mogrify -bordercolor black -compose Copy -border 1 *.png
Code: Select all
mogrify: unrecognized option `-compose' @ error/mogrify.c/MogrifyImageCommand/45
06.
What am I doing wrong?
Also, any other option to create 1 pixel border around the images and keep their transparency? Note that the border can't be drawn on the image itself, it should be on the "outside", basically increasing the image by 2 pixels on both the vertical and the horizontal.
Thank you.