View Single Post
Old 12-08-2018, 02:40 AM   #5
orpheus2011
Connoisseur
orpheus2011 doesn't litterorpheus2011 doesn't litterorpheus2011 doesn't litter
 
Posts: 92
Karma: 216
Join Date: Oct 2011
Device: Kindle
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
orpheus2011 is offline   Reply With Quote