[SOLVED]Command Line Testing

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
alexkolb
Posts: 2
Joined: 2012-06-26T09:26:04-07:00
Authentication code: 13

[SOLVED]Command Line Testing

Post by alexkolb »

Hi,

I am trying to use imagemagick as a part of ResourceSpace. I am trying to test imagemagick using the command line-- I have a file named umimage in the imagemagickfolder.
I entered

Code: Select all

convert umimage.jpg umimage.png
and got back

Code: Select all

convert.exe:unable to open image 'umimage.jpg': no such file or directory @ error/blob.c/openBlob/2638.
convert.exe: no images defined 'umiage.png' @ error/convert.c/ConvertImageCommand/3044.
Anyone know what this means or how to go about testing if imagemagick is installed properly?
Last edited by alexkolb on 2012-06-26T09:44:11-07:00, edited 1 time in total.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Command Line Testing

Post by Bonzo »

I have a file named umimage in the imagemagickfolder.
Looking at your code the image should be in the same folder as the code.
alexkolb
Posts: 2
Joined: 2012-06-26T09:26:04-07:00
Authentication code: 13

Re: Command Line Testing

Post by alexkolb »

The problem was I was not properly referencing the location of the file.
I had to enter it's exact location.

Thanks,
Alex
Post Reply