[magick-users] Convert option order still confusing

Fred Weinhaus fmw at alink.net
Wed Aug 13 19:24:43 PDT 2008


This is correct. You have to do the composite either with -composite 
or with -flatten (the latter being easier) before drawing the lines 
otherwise they will be drawn on each image previous to them. I am 
pretty sure that is how IM works.

Fred



>convert -size 1500x1500 xc:white \
>      \( -size 1000x500 xc:lightblue -repage 0x0+0+950 \) \
>         -flatten \
>         -stroke black -linewidth 5 \
>         -draw 'line 1499,50 50,50' \
>         -draw 'line 50,50 50,950' \
>         -flatten A.gif
>
>Either my hypothesis about how ImageMagick commands are
>interpreted is incorrect or ImageMagick still contains some
>`anomalies'.
>
>Regards


More information about the Magick-users mailing list