Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects

Optimize PDF output

Merged Deepak Khatri requested to merge lorforlinux/play-docs-beagleboard-io:main into main

@jkridner @RobertCNelson It's not a huge improvement but saved 3MB with pdfcpu.

Using ghostscript we can optimize a lot but,

  1. It takes a long time to compress the PDF.
  2. It converts TOC to plain text instead of links to specific section.

I tried different optimization options,

  1. -dPDFSETTINGS=/screen is not usable as images are all blurred out but I was able to reduce 97MB -> 12MB.
  2. -dPDFSETTINGS=/ebook bearable quality but we are still loosing the TOC links to sections reduces 97MB -> 24MB

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply