PDF Compressor Command Line can be used to compress PDF. It can compress stream objects in a PDF by command line. After being compressed, the PDF storage size will be smaller and easier for transmitting and online publishing.
PDF Compressor Command Line has three versions for Windows, Mac OS and Linux. The functions and options of the three programs are the similar to each other. You will know the usages of the other two programs after you have learnt the usage of one. Here are the words about using the Linux version program in this page.
The program is for free to try and download. You have 100 times to test the program before purchasing it. After downloading the package, you can unpack the package to any place in your Linux system. The executable file is in the sub directory bin. Open a terminal in you Linux and you can run the program by calling the executable file pdftoolbox.
A command to compress the stream objects of a PDF is like that following,
pdftoolbox in.pdf -outfile out.pdf -pack
Enter the commands, and the program pdftoolbox will compress the PDF in.pdf and save the new PDF as out.pdf. Option -pack is to tell the program to pack (compress) the stream objects of the PDF. If you did not add the path of the program to the environment variables, you have to give the full path of the program to run it in the terminal.
Though compressed PDF is smaller than before, a compressed PDF might costs more time to open it. If you want to restore the compressed PDF, you can use option -unpack to unpack the PDF and recovery it to the original status. The commands are
pdftoolbox compressed.pdf -outfile uncompressed.pdf -unpack
PDF Compressor Command has more functions besides compressing PDF. You can learn those options by inputting the command pdftoolbox without any option and argument. In the sub directory test, you will see many examples for those options, and you can learn the usages from those examples.
Click to learn the
Features of PDF Compressor Command.