Cara Mengompresi PDF di Mac
Tiga cara untuk mengompres PDF di Mac: filter bawaan Pratinjau, alat browser saat Anda memerlukan ukuran yang tepat, dan Ghostscript di Terminal untuk kontrol penuh.
Oleh Ahtisham ul haq Khan
Founder, PDF Compress
Di halaman ini
A Mac can compress a PDF without any extra software, using Preview. Preview cannot aim for a specific size, though, so when a form says "under 200 KB" a browser tool is quicker. For full control and no uploads, Ghostscript runs in Terminal. Here is each method and when to use it.
1. Preview (built in, offline)
Apple documents these steps in its Preview user guide:
- Open the PDF in Preview.
- Choose File > Export.
- In the Quartz Filter menu, choose Reduce File Size.
- Click Save. Give the copy a new name if you want to keep the original.
Apple notes that the compressed PDF may be lower quality than the original and that results vary. With scanned documents, zoom in on the smallest print before you send the file. Preview gives you no size target, so if the result is still too big, or too blurry, use one of the methods below.
2. A browser tool, for an exact size
When a form sets a limit, open the matching preset page in Safari or Chrome, for example compress PDF to 100 KB or compress PDF to 1 MB. The tool keeps the sharpest version that fits under the limit. In our tests a one-page 300 DPI scan of 1.48 MB came out at 97 KB for a 100 KB limit, still clearly readable.
3. Ghostscript in Terminal (offline, full control)
Ghostscript is the free, open-source engine our compressor is built on. With Homebrew installed:
brew install ghostscript
Then compress a file:
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=small.pdf input.pdf
The preset decides the image resolution: /screen is 72 DPI, /ebook 150 DPI, /printer and /prepress 300 DPI. With our settings, the 7.4 MB five-page test scan came out at 943 KB at 150 DPI and 299 KB at 72 DPI. Nothing leaves your Mac.
Which method to use
| You need | Use |
|---|---|
| A smaller file, no upload, no exact limit | Preview |
| Under a specific size such as 200 KB | Browser tool with a target |
| Many files, scripts, or precise settings offline | Ghostscript |
Common questions
Will the text stay selectable?
With the browser tool and Ghostscript, yes: typed text stays text. A scan without OCR has no text layer to begin with, before or after compression.
Can I compress a password-protected PDF?
Remove the password first by opening the file and saving an unprotected copy, then compress that copy.
Artikel terkait
Cara Mengompresi Ukuran Gambar di iPhone
Empat cara mengecilkan iPhone JPEG, PNG, atau HEIC tanpa aplikasi: pengaturan kamera, Mail Drop, Konversi file, atau alat browser.
Cara Mengompresi PDF Tanpa Kehilangan Kualitas
Bagian mana dari PDF yang benar-benar kehilangan kualitas saat Anda mengompresinya, resolusi gambar yang masih terlihat sama di layar, dan apa yang ditunjukkan oleh pengujian kami.
Cara Mengompresi PDF Tanpa Merusak Tanda Tangan Digital
Mengapa mengompresi PDF yang ditandatangani secara digital merusak tanda tangan, cara mengetahui jenis tanda tangan yang Anda miliki, dan cara aman untuk mendapatkan file kecil yang ditandatangani.