The large size of a PDF file won’t permit to send it by email because of the probable limitation on the maximum size of attachments. In Linux you can compress a PDF file from the command line without losing its quality, with the help of ps2pdf tool, that is a part of ghostscript suite.
From this article you will learn how to compress a PDF file and significantly reduce its size from the Linux command line.
First of all it is required to install the ghostscript suite that provides the ps2pdf utility. To get this open the linux terminal and execute the following command.
sudo apt-get install ghostscript
Compress PDF File In Linux Run the following command to compress and reduce the size of the BIG.pdf file and save the result to the SMALL.pdf file:
ps2pdf BIG.pdf Small.pdf
Results are pretty amazing:
Comments
Post a Comment