hello all, newbie question.

I'm making my first steps in scripting ImageMagick now I want to script it
on my FreeBSD 5.4 box with ImageMagick-6.2.9.8 installed from the ports
collection.

I made a simple script to create a mask:

 #!/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


when I run the above script, I get the following error messages (only the
first two lines are shown - composite won't work because the images are
not
created):

convert: no encode delegate for this image format `-fill'.
convert: no encode delegate for this image format `-fill'.

when I run the individual commands manually each of them works as expected.

what am I doing wrong?

thank you in advance
Yuv

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to