Code: Select all
convert -size 240x180 xc:none -gravity center -stroke black -strokewidth 2 -pointsize 36 -annotate 0 \
"$(cat /home/user/weather/currnt-cond.txt)" -background none -shadow 100x3+0+0 +repage -stroke none \
-fill lightblue -annotate 0 "$(cat /home/user/weather/currnt-cond.txt)" /home/user/weather/wmap-hi_res.gif \
+swap -gravity northeast -geometry +0-3 -composite /home/user/weather/wmap-hi_res-NE.gif
I do not understand especially well the technical workings of IM, rather having arrived at the incantation above mainly by looking over examples in the documentation and performing experiments based on those. So there may well be problems with what I previously put together that, only with the recent update, have begun to surface. Or perhaps some bug was introduced in this newer version of the software? Be that as it may, suggestions for accomplishing the intended aim will be appreciated.
PS Btw I get similar results (a dark blocky shadow surrounding the text) on this system when I try to run the sample command
Code: Select all
convert -background none -stroke black -fill white \
-font Candice -pointsize 48 label:A -trim \
\( +clone -background navy -shadow 80x3+3+3 \) +swap \
-background none -layers merge +repage shadow_a.png