Really Basic Question By NewUser

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
lance123

Really Basic Question By NewUser

Post 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
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Post 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
lance123

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply