How to configure ghostscript on macos #1207
Replies: 3 comments 13 replies
-
I don't understand what you mean by this statement:
|
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
FYI: I got it working by setting: My issue now is that fontconfig spits out a bunch of warnings on the console: Fontconfig warning: "/Users/filestar/.config/com.filestar.macos/resources/debug/fontconfig/2.14.0/etc/fonts/fonts.conf", line 5: unknown element "description" Can these be turned off? /Niels |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using this ghostscript build from anaconda osx-64/ghostscript-9.54.0-h96cf925_2.tar.bz2.
I don't want to install ghostscript on the machine so I unzip this to ~/.ghostscript/
In my C# code I then set:
MagickNET.SetGhostscriptDirectory("~/.ghostscript/bin");
I'm then getting this error:
ImageMagick.MagickDelegateErrorException: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dFirstPage=1 -dLastPage=1 -dEPSCrop '-sOutputFile=/var/folders/z2/l2wtfwl949b0zj6t8t_vj2p40000gn/T/magick-rzApJ8zxK2Rb2
On Windows this works fine.
The build seems to be fine when running directly in the CLI.
Beta Was this translation helpful? Give feedback.
All reactions