Estou aprendendo o ImageMagick. Este erro ocorre quando executo um código copiado do link
convert: non-conforming drawing primitive definition 'n25'
#Bezier_Primitive
dengjiangzhou@dengjiangzhou ~/Downloads/z points="10,10 30,90 25,10 50,50 50,50 80,50 70,10 90,40"
clines='echo "$points" | sed 's/ /\n/g' |\
while read line; do echo "line $line"; done'
symbols='echo path "'"; for point in $points; do
echo "M $point l -2,-2 +4,+4 -2,-2 l -2,+2 +4,-4 -2,+2"
done; echo "'"'
convert -size 100x100 xc:skyblue -fill none \
-draw "stroke gray $clines stroke blue $symbols " \
-draw "stroke red bezier 10,10 30,90 25,10 50,50 " \
-draw "stroke red bezier 50,50 80,50 70,10 90,40 " \
draw_bezier_disjoint.gif
convert: non-conforming drawing primitive definition 'n25' @ error/draw.c/DrawImage/3282.
O código do site que eu copiei:
Meucódigo:
O que estou perdendo?
Tags imagemagick