ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25https://imagemagick.org
which is part of the debian imagmagic version:
uses this form in its command line:imagemagick is already the newest version (8:6.9.11.60+dfsg-1.3+deb11u1)
Code: Select all
convert -background LightBlue1 -border 10 -bordercolor red -font Helvetica-Bold \
-fill blue -size 300 label:'ASHEVILLE EAST (BACK) WALL' $RamDir/Loc$Count.png
The output image file shows just the text without any quotes.
However If I have this:
Code: Select all
echo $LocationName|sed 's/\x22/\x27/g'
and use that in the same command line above as:'ASHEVILLE EAST (BACK) WALL'
Code: Select all
convert -background LightBlue1 -border 10 -bordercolor red -font Helvetica-Bold \
-fill blue -size 300 label:$(echo $LocationName|sed 's/\x22/\x27/g') $RamDir/Loc$Count.png
unknown input information
If I do this:
Code: Select all
convert -background LightBlue1 -border 10 -bordercolor red -font Helvetica-Bold \
-fill blue -size 300 label:$LocationName $RamDir/Loc$Count.png
but this:
Code: Select all
convert -background LightBlue1 -border 10 -bordercolor red -font Helvetica-Bold \
-fill blue -size 300 label:"$LocationName" $RamDir/Loc$Count.png