Page 1 of 1

convert only works once

Posted: 2011-05-05T09:08:52-07:00
by zeeax
Hi!

This is the code I tried to run (there's zik.txt in the executing directory):

Code: Select all

convert -background white -fill black -font Arial -size 700x300 caption:@zik.txt zik_caption.gif
When I first tried to run it, I only got a blank image. Then I added -gravity center right after the -size parameter (just because I forgot it earlier), but now nothing happens at all. There is no message, my pc is not working, there is only a new line after my command and nothing else happens. It's also not working when I remove the gravity parameter.

I'm on Windows XP Pro with SP2 installed and using ImageMagick-6.6.9-8-Q16-windows-dll. I've had this problem previously with ImageMagick-6.4.1-Q8, but it already didn't work when I first ran the code. How to fix this?

Thanks!

zeeax

EDIT: Mistyped the command, it's gif instead of txt. :oops: