phMagick :: error convert: invalid parameter
If you get this error on windows is because windows is finding the convert.exe (used to convert a file system to ntfs) instead of the ImageMagick convert.exe
Here are a few possible solutions
- Use $phMagick->setImageMagickPath(‘C:/progra~1/imagemagick/bin’) or the path to where your ImageMagick binaries are
- Change the %PATH% environment variable so the path to ImageMagick comes in first place
- Edit phMagick source and change $imageMagickPath=” to $imageMagickPath=’C:/progra~1/imagemagick/bin’; (around line 38)
Make sure you end your path with / and avoid spaces in the path, use the short file name syntax
hi,
i use wamp and it is installed in d drive.i have copied the line $phMagick->setImageMagickPath(’C:/progra~1/imagemagick/bin’) in my index.php file but i am getting this error -
phMagick: Error executing “convert -fill “#000″ -pointsize 12 label:”phMagick rules!!!!!” “text1.png”"
return code: 4
command output :”Invalid Parameter – “#000″”
@chinmoy
is imagemagick installed on that path?