1
vote
1answer
43 views

Adding multiple text lines with 'convert'

I'm trying to place multiple lines of text on an image, but the following produces the following error: convert convert: Non-conforming drawing primitive definition (\) [No such file or directory]. ...
4
votes
1answer
1k views

How to detect image dimensions and run commands on them?

I have a directory full of images, some of which are portrait-sized instead of landscape-sized, and I want to open the portrait-sized ones with an image editor. I can run the imagemagick command ...