Page 1 of 1

Spaces In Filenames / Paths

Posted: 2016-01-13T14:12:26-07:00
by Steve Bouffe
With this package installed

ImageMagick-6.8.9-7-Q16-x64-dll.exe

From the command line this worked fine

convert "c:\devpb\File Cache\Image Conversion\New_Image_Add.jpg" -trim -bordercolor "white" -border 0 "c:\devpb\File Cache\Image Conversion\New_Image_Add_Border.jpg"

However I have upgraded to

ImageMagick-6.9.3-0-Q16-x64-dll.exe

The same command shows error

C:\Users\Administrator>convert "c:\devpb\File Cache\Image Conversion\New_Image_Add.jpg" -trim -bordercolor "white" -border 0 "c:\devpb\File Cache\Image Conversion\New_Image_Add_Border.jpg"
Invalid Parameter - Cache\Image

Re: Spaces In Filenames / Paths

Posted: 2016-01-13T15:23:10-07:00
by fmw42
Perhaps you need to redefine convert (which is also a windows command), so that you call the IM one imconvert or something like that?

Re: Spaces In Filenames / Paths

Posted: 2016-01-14T03:42:01-07:00
by snibgo
As Fred suggests, "Invalid Parameter" is an error message from the Microsoft "convert" program, not ImageMagick.