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
Spaces In Filenames / Paths
-
- Posts: 3
- Joined: 2016-01-13T14:05:51-07:00
- Authentication code: 1151
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Spaces In Filenames / Paths
Perhaps you need to redefine convert (which is also a windows command), so that you call the IM one imconvert or something like that?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Spaces In Filenames / Paths
As Fred suggests, "Invalid Parameter" is an error message from the Microsoft "convert" program, not ImageMagick.
snibgo's IM pages: im.snibgo.com