Bug in convert.exe?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kriekey
Posts: 2
Joined: 2011-09-13T08:37:55-07:00
Authentication code: 8675308
Contact:

Bug in convert.exe?

Post by kriekey »

Here's my issue -- i've tried the ol' reboot and reinstallation to no avail:

I'm trying to call imagemagick through MSSQL using xp_cmdshell. In order to run convert, i have to provide the absolute path, ie ("C:\Program Files (x86)\ImageMagick-6.7.2-Q16\convert" "C:\fax.tif" "C:\fax2.tif"

Here's the weird stuff:

I can convert in cmd using

Code: Select all

convert C:\fax.tif C:\fax2.tif
but not

Code: Select all

"C:\Program Files (x86)\ImageMagick-6.7.2-Q16\convert" "C:\fax.tif" "C:\fax2.tif"
.

I can call the convert in cmd using

Code: Select all

convert
or

Code: Select all

C:\Program Files (x86)\ImageMagick-6.7.2-Q16\convert

Any ideas?

Thanks.
Eric B
Posts: 14
Joined: 2010-07-05T04:27:52-07:00
Authentication code: 8675308
Contact:

Re: Bug in convert.exe?

Post by Eric B »

why don't you write convert.exe instead of convert, e.g.
"C:\Program Files (x86)\ImageMagick-6.7.2-Q16\convert.exe" etc

Alternative is to have add your folder on your %PATH% variable (done by default at the end of the install),

And using MSSQL, you might use also Windows PowerShell, which offer more possibilities than cmdshell.
Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests