Yuval Levy wrote:

 #!/bin/sh
 convert -size 600x600 xc:none -fill #000000 -draw "circle 300,300, 0,300"
circle.png

[]

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.

# is a comment indicator in a bash script, so bash doesn't
see anything after the # you've got in those two lines.
Put the color value in quotes to get round this:

#!/bin/bash
convert -size 600x600 xc:none -fill '#000000' -draw "circle 300,300, 0,300" circle.jpg

etc.

--
Illtud Daniel                                 [EMAIL PROTECTED]
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to