I'm trying to place a copyright message on a large batch of PNG images. I'd like to place the message in the bottom-right corner in black text on a semi-transparent white background. Here's my Windows command line script which loops through the images and runs a ImageMagick convert & composite pipeline:
for %%f in (*.png) do (
convert -background "#FFFFFF80" -font verdana -fill black ^
label:" (c) 2015 My Company " miff:- ^
| composite -compress zip -gravity SouthEast ^
-geometry +0+0 - "%%f" "credited\%%f.png" )
The white background with 50% (0x80) opacity is working well, but when the label text renders into the image, there's a horrible grey in the background of the characters. Here is an example by just running the initial convert into a PNG.
Is this a bug or am I missing something important in IM alpha channel management?
convert -version
report for you? – Kurt Pfeiflecmd.exe
syntax required for this... Otherwise just revert and/or correct it!) – Kurt Pfeifle-matte
operator beforelabel:
. I half remember a previous thread about fonts and matte channel on older versions of IM. – emcconville