Error: convert: missing an image filename 'filename.gif'

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sabater_wb

Error: convert: missing an image filename 'filename.gif'

Post by sabater_wb »

I'm tying to do something like this code

convert rose: -compose Screen \
\( -clone 0 stars1.gif -composite \) \
\( -clone 0 stars2.gif -composite \) \
\( -clone 0 stars3.gif -composite \) \
-delete 0 -set delay 25 -layers Optimize rose_sparkle.gif


I typed on windows prompt

Code: Select all

convert rose -compose Screen -clone 0 image001.gif -composite -clone 0 image002.gif -composite -delete 0 -set delay 25 -layers Optimize result.gif
And I got an error: "convert: missing an image filename 'result.gif'.

So, I'm thinking. How is it possible if result.gif is the output file name?

What is wrong?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Error: convert: missing an image filename 'filename.gif'

Post by el_supremo »

Same problem as your other post. You've left out the parentheses. And you also need a colon after "rose" - it must be rose:

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
kbirecki
Posts: 8
Joined: 2011-02-23T03:19:57-07:00
Authentication code: 8675308

Re: Error: convert: missing an image filename 'filename.gif'

Post by kbirecki »

I know this is an old thread, but for future readers, another cause can be incorrect registry entries pointing to GhostScript. There is a simple solution that I found and I made it my first blog entry: http://hallsoftech.blogspot.com/2011/07 ... image.html.
Post Reply