For jpg it is between 1 to 100 with 100 the best quality, but lowest compression Higher pixel densities increase quality and size
-dPDFSETTINGS=/prepress output similar to Acrobat Distiller "Prepress Optimized" setting ( 300 dpi).-dPDFSETTINGS=/ebook for better quality, but slightly larger pdfs.
-dPDFSETTINGS=/screen lower quality, smaller size.dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf Use the following ghostscript command: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \