[magick-users] shell script problem

Brian Jackson brian at actionathletics.com
Wed Jan 24 11:16:41 CST 2007


On Wednesday 24 January 2007 08:25, Yuval Levy wrote:
>
>  #!/bin/sh
>  convert -size 600x600 xc:none -fill #000000 -draw "circle 300,300,
> 0,300" circle.png
>  convert -size 600x600 xc:none -fill #000000 -draw "rectangle 0,0
> 600,600" square.png
> composite -compose xor circle.png square.png mask.png

Try putting quotes around the #000000, like this '#000000'.

Also, it looks like you're missing a comma (,) between the 0 and 600 in 
the square operation.

brian

-- 
Brian Jackson
Action Athletics Sports Photography
brian at actionathletics.com
http://www.ActionAthletics.com/


More information about the Magick-users mailing list