running CONVERT from Windows

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
john2
Posts: 1
Joined: 2012-03-19T02:51:59-07:00
Authentication code: 8675308

running CONVERT from Windows

Post by john2 »

If i use a DOS box (CMD) and run this

CONVERT c:\path\picture.png c:\path\picture.jpg

it converts the file as expected!

BUT

If I run the exact same command from Windows's Start>Run then nothing happens!!

Why does CONVERT care where I run it from?

I need a way to call CONVERT from Windows . I know I can use the COM bject but I need it this to be DOS based

TIA
User avatar
whugemann
Posts: 289
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

Re: running CONVERT from Windows

Post by whugemann »

It should make no difference which way you do it. (I have just checked that again.) It guess that you might have made a typo when using the Start box. A possible source of error is the setting of the PATH variable, as Convert is also a Windows system command, see http://www.imagemagick.org/Usage/windows/#convert_issue for details. There is nothing wrong with using the DOS command instead of the COM+ object and the code should work just the way you applied it.
Wolfgang Hugemann
Post Reply