LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Reducing the size of a PDF to 90 DPI ? (https://www.linuxquestions.org/questions/linux-general-1/reducing-the-size-of-a-pdf-to-90-dpi-4175536155/)

Xeratul 03-09-2015 01:49 AM

Reducing the size of a PDF to 90 DPI ?
 
Hello,

I have a bit PDF of 30-35 MB, and I would like to reprint it to 90 DPI. Would you have a bash command?

regards
thank you

T3RM1NVT0R 03-09-2015 01:51 AM

I don't have a bash command for that but I have used this site to compress pdf few times: https://www.pdfcompress.com/

Ruhpolding 03-09-2015 12:27 PM

Using ghostscript, you could take

Code:

$ gs -dBATCH -dSAFER -dNOPAUSE -q -sDEVICE=pdfwrite\
  -dCompatibilityLevel=1.3 -sPAPERSIZE=a4 -dPDFSETTINGS=/screen\
  -sOutputFile=output.pdf input.pdf

as a starting point. The option /screen stands for a low resolution. Other options are /printer, /prepress and /ebook.

John VV 03-09-2015 10:51 PM

what is the content of the pdf?
all text
or a mix of text and jpg's ( svg's will reduce better )

if text 90 dpi will be hard to read if printed


All times are GMT -5. The time now is 03:44 AM.