[GH-ISSUE #224] Need a script to compress pdf #5285

Closed
opened 2026-04-21 21:17:44 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @profvjreddi on GitHub (May 26, 2024).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/224

The current PDF is often too large and causes 100MB, need to use GS or something else to manually compress it down

gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dPDFSETTINGS=/screen -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf
Originally created by @profvjreddi on GitHub (May 26, 2024). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/224 The current PDF is often too large and causes 100MB, need to use GS or something else to manually compress it down ``` gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dPDFSETTINGS=/screen -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf ```
GiteaMirror added the area: tools label 2026-04-21 21:17:44 -05:00
Author
Owner

@profvjreddi commented on GitHub (Jun 18, 2024):

Done. First introduced in 128b4ca8b1

<!-- gh-comment-id:2174755623 --> @profvjreddi commented on GitHub (Jun 18, 2024): Done. First introduced in 128b4ca8b15c12a3d78eef26b12d4051b47c5365
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#5285