convert: missing an image filename

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
jagadeeshtata

convert: missing an image filename

Post by jagadeeshtata »

Hi,

I installed 6.3.5 version of ImageMagick on Solaris 5.9. I was facing following error when issued command

convert logo logo.gif

Error:
convert: unable to open image `logo': No such file or directory.
convert: missing an image filename `logo.gif'.

I set required path in environment variables for PATH and LD_LIBRARY_PATH.

Any suggestions

Thanks in advance,
Jagadeesh Tata.
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: convert: missing an image filename

Post by el_supremo »

If you're trying to convert the built in image then you need a colon in the name.
convert logo: logo.gif

Pete
jagadeeshtata

Re: convert: missing an image filename

Post by jagadeeshtata »

Hi,

I issued the command as mentioned by you. But still facing the same error.

/opt/ImageMagic/bin> convert -negate logo.jpg:logo.gif
convert: missing an image filename `logo.jpg:logo.gif'


Thanks in advance,
Jagadeesh Tata
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert: missing an image filename

Post by Bonzo »

You have not done what Pete said:

Code: Select all

convert -negate logo: logo.gif
jagadeeshtata

Re: convert: missing an image filename

Post by jagadeeshtata »

Hi,

I appreciate your quick response.

I issued command,

/opt/ImageMagic/share/doc/ImageMagick-6.3.5/images> convert -negate logo: logo.gif
convert: unable to open image `logo.gif': Permission denied.

So could not understand whether any permissions are required.

Thanks in advance,
Jagadeesh Tata
jagadeeshtata

Re: convert: missing an image filename

Post by jagadeeshtata »

Hi,

The issue mentioned above is resolved. But I'm still facing the error with the following commands.

For gif convert command is working fine. Any thing else need to be installed..?

/opt/ImageMagic/share/doc/ImageMagick-6.3.5/images> convert rose: /tmp/rose.gif
/opt/ImageMagic/share/doc/ImageMagick-6.3.5/images> convert rose.jpg: /tmp/rose.jpg
convert: unable to open image `rose.jpg:': No such file or directory.
convert: missing an image filename `/tmp/rose.jpg'.
/opt/ImageMagic/share/doc/ImageMagick-6.3.5/images> convert rose.jpg rose.png
convert: no decode delegate for this image format `rose.jpg'.
convert: missing an image filename `rose.png'.
/opt/ImageMagic/share/doc/ImageMagick-6.3.5/images> convert rose.jpg: /tmp/rose.png
convert: unable to open image `rose.jpg:': No such file or directory.
convert: missing an image filename `/tmp/rose.png'.

Thanks in advance,
Jagadeesh Tata.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert: missing an image filename

Post by Bonzo »

I have no idea how Solaris works but if you are working with the built in images in ImageMagick you only need to use logo: OR rose: NOT logo.jpg logo.jpg: rose.jpg or rose.jpg: ImageMagick will know what you are trying to use.

There is a Solaris release of the ImageMagick install on this page http://www.imagemagick.org/script/binar ... hp#windows haave you installed this ? Looking at the Solaris site the latest version is 10 ? and your are using 5.9 ? so there may be some problems there. I do not know what version the Solaris installer needs.
Post Reply