Perhaps this would work. I haven't followed the thread too closely so I may be way off base in what is needed.

Annotating

Let’s annotate our image with some text so we know what we’re looking at. We can set the -gravity (where the annotation should occur), a background colour (from a built-in palette) and use -splice to add extra space to the image, making room for our label, ensuring we don’t write over existing pixels. Here we request 18 pixels of splice only in the Y direction. The -annotate option takes an X and Y argument, in our case we want to nudge the text down 4 pixels.

julian@ce:~/tmp$ convert -gravity North -background Orange -splice 0x18 -annotate +0+4 "Facebook datacenter, 640x480 zoom @ X=600, Y=550" contrast.jpeg final.jpeg


Find the whole page here:

https://discourse.criticalengineering.org/t/howto-command-line-manipulation-of-images/47


73,
Rod
--
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to