

- #Reduce pdf size how to#
- #Reduce pdf size install#
- #Reduce pdf size full#
- #Reduce pdf size download#
- #Reduce pdf size free#
It utilizes the default settings of Advanced Optimization.) (Note: Reduce File Size is the part of Advanced Optimization function. It utilizes the default settings of PDF Optimizer.)įor Foxit PDF Editor v10 and later, please go to File> PDF Optimizer, select Reduce File Size or Advanced Optimization for compressing PDF file. (Note: Reduce File Size is the part of PDF Optimizer function.
#Reduce pdf size download#
You may download it from Foxit website:Īfter the installation, please do the followings:įor Foxit PDF Editor versions prior to V10,please go to File, select Reduce File Size or PDF Optimizer for compressing document.
#Reduce pdf size free#
Please try again: Ģ) PDF Optimizer feature in Foxit PDF Editor software: Foxit PDF Editor is free to try out for 14 days. If you want to bulk compress PDF documents, then you can use Ghostscript or ps2pdf to do it programmatically, instead of doing it manually.Currently there are two optional ways to compress a PDF:ġ) Online Foxit PDF Editor: If you’re using it but you failed, please try to compress again. If you want to compress just a few PDFs, it is advisable to use an online PDF compressor. You can embed them within your application or website to offer it as a feature or a part of a bigger module. We have covered CLI tools to compress PDF documents in this article. There are even some GUI tools like Densify, which are nothing but GUI front-ends to Ghostscript modules, to reduce PDF size. You can even use online tools like small pdf for this purpose. Of course, there are many other libraries to help you compress PDFs. You can use them as terminal commands to manually shrink PDF documents, in shell scripts to automate PDF compression, or even setup cronjobs to regularly compress PDF documents. In this article, we have learnt a couple of ways to reduce PDF file size in Linux. $ ps2pdf -dPDFSETTINGS=/ebook /home/ubuntu/data.pdf /home/ubuntu/new-data.pdf We also use -dPDFSETTINGS option in this example. Here is a sample command to reduce size of PDF /home/ubuntu/data.pdf and save it to /home/ubuntu/new-data.pdf. The options used for ghostscript above, are also available for ps2pdf command.
#Reduce pdf size full#
If you don’t provide full file paths to input & output file it will refer to your current working directory, for input and output PDFs. The PDF content will be stored in output.pdf after compression. In the above command, we need to specify input and output file paths after options. Here is the general command syntax to reduce PDF file size using ps2pdf.
#Reduce pdf size install#
When you install Ghostscript using the above mentioned command, it will also install ps2pdf. Ps2pdf is generally bundled with Ghostscript. Ps2pdf command will convert PDF to Postscript and back again to PDF, causing more efficient compression. dPDFSETTINGS=/default Selects the output which is useful for multiple purposes. dPDFSETTINGS=/printer Output is of a printer type quality (300 dpi) dPDFSETTINGS=/prepress Output is of a higher size and quality (300 dpi)

dPDFSETTINGS=/ebook Has a better quality, but has a slightly larger size (150 dpi) dPDFSETTINGS=/screen Has a lower quality and smaller size. Ghostscript provides various readymade PDF settings under -dPDFSETTINGS options to quickly shrink your document to popular formats. Here is a sample command to reduce size of PDF /home/ubuntu/data.pdf and save it to /home/ubuntu/new-data.pdf $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=/home/ubuntu/new-data.pdf /home/ubuntu/data.pdf In the above command, you need to specify the input file that you want to compress, and output file where you want the compressed PDF to be stored. $ sudo apt install ghostscriptĭuring installation, if you see any prompts, enter y to proceed.Īfter you have installed ghostscript, you can reduce PDF size with the following command syntax. You can easily install it with the following command. It is basically an interpreter for Postscript and PDF documents. You can use Ghostscript tool to easily compress PDF and reduce their size.
#Reduce pdf size how to#
We will look at how to reduce PDF size in Linux usint ps2pdf and ghostscript packages. We will learn how to reduce PDF size using Ghostscript and ps2pdf tools. There are many tools available for this purpose. Did you know that you can reduce the size of PDF file to solve this problem? In this article, we will learn how to reduce PDF size in Linux. But sometimes your PDF file may be really large to store or transfer it. PDF files are widely used as documents in organizations around the world.
