You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

VincentYu comments on LessWrong Help Desk - free paper downloads and more (2014) - Less Wrong Discussion

30 Post author: jsalvatier 16 January 2014 05:51AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (279)

You are viewing a single comment's thread. Show more comments above.

Comment author: VincentYu 06 October 2015 08:20:55AM 2 points [-]

it blew up to 14M

The object streams for indirect objects have been unpacked and stripped away, leaving their contents uncompressed. Use qpdf to regenerate compressed object streams:

qpdf --object-streams=generate in.pdf out.pdf

(The --stream-data=compress option is already set by default.)

While you are at it, might as well re-linearize the PDF for online readers with low bandwidth:

qpdf --object-streams=generate --linearize in.pdf out.pdf
Comment author: gwern 06 October 2015 04:01:49PM 0 points [-]

That seems to work. I tried gs, Gscan2pdf, and pdf2djvu but they all either didn't reduce size or segfaulted.