Skip to content
Discussion options

You must be logged in to vote

This library uses Ghostscript and it seems that it decides to use a white background. We are using the following options:

-q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dPrinted=false "-sOutputFile=out.png" 1.ai

This is executed through a library or on the command line with gswin64c.exe. If you figure out which option should be added to change the background then I might be able to integrate that into ImageMagick.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mirko-horvacki
Comment options

@dlemstra
Comment options

Answer selected by mirko-horvacki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants