I am trying add a border on a specific side. And the border width has to depend on the dimensions of the current image.
The two snippets below result in an error "mogrify: invalid argument for ...".
Obviously the fx is not allowed here.
I read that distort would allow for adding borders, but I don't understand how.
It can't be that hard, but I am new to Image Magick.
Code: Select all
-gravity west -splice '%[fx:h/1.6]x0' +repage \
Code: Select all
-gravity east -extent '%[fx:h/1.6]x%[fx:h]' \