I'm very new to the GhostScript world and I was wondering what was the configurations that are setted when we write, for example, -dPDFSETTINGS=/ebook?
The problem I face is that /ebook is too low quality and /printer is to heavy. I'm searching somewhere in the middle :)
Based on the the corresponding documentation, you probably want to set ColorImageResolution like this for instance if you want to tune image resolution:
gs -sDEVICE=pdfwrite -q -dPDFSETTINGS=/printer -dColorImageResolution=150 -o out.pdf in.pdf
You need to set GrayImageResolution or MonoGrayImageResolution for non coloured images.
Be aware that setting the resolution does not work if PDFSETTINGS is unset (respectively set to /default). I don't know why.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With