04 June 2016

When you have a large amount of data for visualization, the toolkits (e.g., R, Gnuplot) may generate a very very high resolution pdf file, resulting a very large file size. Once you open a paper including those large files, you PDF viewer may be slow.

I got a very effective solution with only 2 command lines that you can run on any linux machine (see below).

pdf2ps input.pdf output.ps 
ps2pdf output.ps output.pdf

blog comments powered by Disqus