I'm producing some PDF weighting about 50 Mb. I just open it in my viewer, add a comment and save the file, then its size suddenly becomes about 30 mb.

What is happening? Am I loosing some important information in the process? And, if not, how do I produce a final PDF weighting the minimum using only PDFLaTeX?

Related: pdf-printer-decreases-filesize-of-pdflatex-output-considerably-why?

  • I guess that when you insert some comment using your PDF viewer, after saving it, the resolution of graphics are being lowered. – Sigur May 10 '14 at 16:30
  • 3
    Have you tried re-optimising your PDF using e.g. GhostScript? As pdfLaTeX creates the PDF 'as it goes' there are often optimisations to be made after-the-fact with all of the PDF structure known. – Joseph Wright May 10 '14 at 16:34
  • 3
    Would the following commands in the preamble help? \pdfminorversion=5 \pdfobjcompresslevel=6 \pdfcompresslevel=9 – pluton May 10 '14 at 16:38
  • 1
    \pdfminorversion=7, even. – cfr May 10 '14 at 22:45
  • @Sigur, resolution doesn't change, this happens even without images (draft), and fonts keep vectorial. – Andrestand May 11 '14 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.