PDF is a great file format to send read-only documents that just look stunning and beautiful with images and good graphic design. It is a common format used by professionals and non-professionals to digitize e-books and documents.
เมื่อ รูปแบบไฟล์ PDF has many high-quality images, the file size would be high. If you’re sharing it with a friend or making it available for download on your WordPress website.
It is always a good idea to experiment with multiple information provision formats like ebooks, วีดีโอ, audio or infographics etc.
Whatever your reason may be, we will teach you how to reduce the size of a pdf file by compressing the file using various methods and application.
How to compress a pdf file?
PDF files are easy to work with. They can be easily created and compressed using various free methods. Some of them are free online tools, some are third-party windows applications and few for compressing using code.
How to reduce size of a pdf file using online compressors?
Internet had made life easier. You don’t need to download or install any application to reduce the size of a PDF file. You can use the online compressors to compress the file remotely and download it.
Since most people have an internet connection these days, I recommend you to follow this method. Since it is easy and free to implement.
Follow these simple steps to compress a pdf file using online compressors:
ขั้นตอน 1. ไปที่ smallpdf.com
Smallpdf is a free collection of pdf manipulation online tools that can compress, แก้ไข, crack and convert pdf files. There is an alternative which you can use: ilovepdf.com
ขั้นตอน 2. Choose a pdf file for compression
Either upload a pdf file from the computer or simply drag and drop the pdf file to start compression. As soon as you upload it or drop it in the drag section, the compression starts. After the compression is over, you can select to edit it, lock it with a password, convert it to jpg, and more operations can be performed.
ขั้นตอน 3. Click on the download button
Click on the Download File button to download the compressed pdf file. Smallpdf compressor will also tell you to what extent the pdf file is compressed.
After you download, the compression of the pdf file is successfully been accomplished.
How to compress a pdf file in Windows?
The first method where we compress pdf files using online compressors can be used in all operating systems with an internet connection. If you don’t have an internet connection or don’t want to use any online tools, because you’re too cautious about a computer virus, you can use this method instead.
We will use windows applications to compress a pdf file in windows. If you can afford a premium tool, ลอง Acrobat Pro PDF Optimizer. It is a great tool for optimizing PDF files. อย่างไรก็ตาม, it is not cheap. If you can’t afford it or choose not to buy it, ไม่ต้องกังวล. There are several free compressors available for free on the internet.
We recommend you use PDFcompressor for windows. IT is a free and well-made pdf compression tool.
ขั้นตอน 1. Download and install PDF compressor.
ดาวน์โหลด PDF compressor software and install it. After you install the application, open it from the all programs menu.
ขั้นตอน 2. Add a file or a folder to select the input pdf file[s].
The second step is to add the pdf files as the input to the windows application. หรืออีกวิธีหนึ่ง, add an entire folder to compress all the pdf files in the folder.
ขั้นตอน 3. Press the start button to begin the compression.
Then press the start button to begin the compression. It is as simple as that.
Pdf compressor is a free windows application that can compress pdf files very well. อย่างไรก็ตาม, มี other options available for you ได้เป็นอย่างดี.
How to compress a pdf in Python?
Python is a popular programming language that has several applications written in it. If you are trying to code an application or an online tool, this is very useful. You can use python applications in the terminal to compress pdf files.
This is an easy to use and the most effective method here since you have more control on the output file.
Here is how you do it:
ขั้นตอน 1. ดาวน์โหลด pdfsizeopt จาก GitHub.
ขั้นตอน 2. Use the following command to optimize the pdf files.
~/pdfsizeopt/pdfsizeopt ~/Documents/input.pdf ~/Documents/output.pdf
ขั้นตอน 3. Press enter to start the compression
Things to keep in mind:
- The output and input path must include the file directories.
- The input and output files both are in the Documents folder in the commands we used.
- You can change the input and output paths to whatever you like.
- If you want to compress pdf files with images, you need to also download image optimizers.
- This is a great tool if you’re creating python or python based web applications.
- You also need to add jbig2 และ pngout to your pdfsizeopt folder.
- Download them using the git clone command and change the folder names to jbig2 และ pngout แทน pdfsizeopt-jbig2 และ pngout-bin
How to delete pages from pdf?
บางครั้ง, you just want to delete a blank page or an unnecessary page from the pdf file. In order to do that, you don’t need Adobe’s premium tools. You can just use smallpdf.com online tools. They are simple to use.
Follow these simple steps to delete a page in pdf file:
ขั้นตอน 1. ไปที่ smallpdf.com delete a page เครื่องมือ.
ขั้นตอน 2. Upload the pdf file you want to modify
ขั้นตอน 3. Delete the page by clicking on the trash bin button.
After you delete the page, it disappears from the preview. Select the page you want to delete and press the trash bin to delete the page.
ขั้นตอน 4. Click apply changes after you deleted the unrequired pages.
The online web application will delete the page and process the file accordingly and then take you to a different page where you can download the pdf file or make further changes like editing and compressing.
ขั้นตอน 5. Click Download File to download the output product.
Once they process the pdf file and make the necessary changes you wanted, the file will be ready to be downloaded. Download it unless you want to make further changes or compress it.
I hope you learned how to compress a pdf file easily from this tutorial. If you have any issues while using any of the above methods, please let us know in the comments below.