Use single quotes around your Led Zeppelin, not double quotes. Your double quotes for your text conflict with the double quotes around the draw command.Artman wrote:with this example also i have a problem under windowswhat wrong?Code: Select all
.\bin\magick -size 320x100 xc:lightblue -font georgia -pointsize 72 ^ -draw "fill black text 27,67 "Led Zeppelin" ^ text 25,68 "Led Zeppelin" ^ text 23,67 "Led Zeppelin" ^ text 22,65 "Led Zeppelin" ^ text 23,63 "Led Zeppelin" ^ text 25,62 "Led Zeppelin" ^ text 27,63 "Led Zeppelin" ^ text 28,65 "Led Zeppelin" ^ fill white text 25,65 "Led Zeppelin" " ^ 7.png
Use double quotes for the -draw "..." and single quotes for the actual text. I do not think you can do it the other way around.
So try:
Code: Select all
.\bin\magick -size 320x100 xc:lightblue -font georgia -pointsize 72 ^
-draw "fill black text 27,67 'Led Zeppelin' ^
text 25,68 'Led Zeppelin' ^
text 23,67 'Led Zeppelin' ^
text 22,65 'Led Zeppelin' ^
text 23,63 'Led Zeppelin' ^
text 25,62 'Led Zeppelin' ^
text 27,63 'Led Zeppelin' ^
text 28,65 'Led Zeppelin' ^
fill white text 25,65 'Led Zeppelin' " ^
7.png
This works fine for me in unix syntax:
Code: Select all
magick -size 320x100 xc:lightblue -font georgia -pointsize 72 \
-draw "fill black text 27,67 'Led Zeppelin' \
text 25,68 'Led Zeppelin' \
text 23,67 'Led Zeppelin' \
text 22,65 'Led Zeppelin' \
text 23,63 'Led Zeppelin' \
text 25,62 'Led Zeppelin' \
text 27,63 'Led Zeppelin' \
text 28,65 'Led Zeppelin' \
fill white text 25,65 'Led Zeppelin'" \
7.png
See examples at http://www.imagemagick.org/Usage/text/#draw