Quote:
Originally Posted by orpheus2011
I have installed both imagemagick and potrace through brew on my Mac, but when attempting to run the script in Terminal, I keep getting this error:
Code:
bash graf.sh note8.pdf
convert: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' '-sOutputFile=/var/folders/65/rnwl3xfs09vdnmb4v36ksh1c0000gn/T/magick-6019unPXRJTYmLWU%d' '-f/var/folders/65/rnwl3xfs09vdnmb4v36ksh1c0000gn/T/magick-6019mC1jfwxXKtfZ' '-f/var/folders/65/rnwl3xfs09vdnmb4v36ksh1c0000gn/T/magick-6019iTtQTQd9b6Vx'' (1) @ error/pdf.c/InvokePDFDelegate/290.
convert: no images defined `/Users/siavush/tmp/note8.bmp' @ error/convert.c/ConvertImageCommand/3300.
potrace: /Users/siavush/tmp/*: No such file or directory
Could anyone advise on what's going wrong?
Many thanks
|
It sounds like it might be a problem with the dependencies. Do you have ghostscript installed?