I am trying to reduce my Rplots' sizes so I am trying the sh script. Settings # http://www.alfredklomp.com/programming/shrinkpdf/masi@masi:~/Documents$ ls -la shrinkpdf.sh -rwxr-xr-x 1 masi masi 3107 Nov 15 23:12 shrinkpdf.shI run it masi@masi:~/Documents$ ./shrinkpdf.sh Rplots.bland.altman.3.pdf > out.pdfGPL Ghostscript 9.06: Unrecoverable error, exit code 1OS: Debian 8.5Ghostscript: 9.06Test file: basic outputs of R   
How to run shrinkpdf.sh in Debian 8.5?
debian;shell;software installation
IporSircer's answer in comments. The quality decreases significantly, more than expected, in Fig. 1. So reject the method. 