Page 1 of 1

Really Basic Question By NewUser

Posted: 2007-01-06T19:06:44-07:00
by lance123
Hi To All,

Really looking forward to using this tool. I am using osx 10.4.8. I type in the following with a folder open and the file inside it.

convert -image.jpg image.png
convert: unrecognized option `-image.jpg'.

Maybe I am not understanding where the files are referenced?? Sorry for the basic nature of the question. I do the:

convert logo.gif
Version: ImageMagick 6.1.7 12/19/04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

and it shows up as installed ok :)

Thanks for any help available

Lance

Posted: 2007-01-06T20:03:48-07:00
by rmagick
A leading dash ("-") indicates an option. Filenames don't need a leading dash. Just use

Code: Select all

convert image.jpg image.png

Posted: 2007-01-06T20:07:34-07:00
by lance123
Hi,

thanks for the input.

I try that and same result

lance-whites-computer-2:~ lancewhite$ convert image.jpg image.png
convert: unable to open image `image.jpg': No such file or directory.
convert: missing an image filename `image.png'.

Regards,

Lance

Posted: 2007-01-07T16:38:06-07:00
by anthony
Does you image have a 'hyphen in front of it? If so reference it using a path.
For example ./-image.jpg to refer to "-image.jpg" in the current directory.