Page 1 of 1

convert: missing an image filename

Posted: 2007-07-17T08:35:50-07:00
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.

Re: convert: missing an image filename

Posted: 2007-07-17T09:11:37-07:00
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

Re: convert: missing an image filename

Posted: 2007-07-18T12:10:14-07:00
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

Re: convert: missing an image filename

Posted: 2007-07-18T12:27:56-07:00
by Bonzo
You have not done what Pete said:

Code: Select all

convert -negate logo: logo.gif

Re: convert: missing an image filename

Posted: 2007-07-18T12:32:57-07:00
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

Re: convert: missing an image filename

Posted: 2007-07-18T13:16:07-07:00
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.

Re: convert: missing an image filename

Posted: 2007-07-18T13:44:28-07:00
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.