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

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

Post by sabater_wb » 2008-12-12T23:06:05-07:00

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?

Posts: 1017
Joined: 2005-03-21T21:16:57-07:00

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

Post by el_supremo » 2008-12-13T08:18:32-07:00

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

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.

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 » 2011-07-09T05:15:57-07:00

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: ... image.html.

Post Reply