Results 1 to 5 of 5

Thread: [RESOLVED] PDF compression

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2018
    Posts
    160

    Resolved [RESOLVED] PDF compression

    Hi

    I realise this may not be the most appropriate place to ask this, so apologies - but at least I might get a point in the right direction?

    I've been using the itextsharp library in a project to split a pdf into separate sheets, rename the parts, and then re-assemble them. Some of the pdfs I've been running have been 3000-5000 pages long with graphics and text.

    The split/join process works well enough, but the resulting re-joined pdf is inflated. With the original of 57mb, the output is 880mb. That's with a file of 3300 or so pages.

    Acrobat DC can sort this out just by opening the pdf and saving as a new file - it reports that it 'consolidates duplicate page backgrounds' and 'consolidates duplicate fonts' as it saves and by doing that I get the file size down to pretty much the original 57mb.

    Does anyone have a good means of doing this sort of compression from vb? - the ways I've tried so far don't make much of a saving on the file size.

    I have no budget for this, so I'd need to be able to do this without buying the Acrobat SDK!

    Thanks!


    UPDATE- just check the fonts in the joined doc and there are 6412 of them! - I reckon all but 6 or 7 are superfluous!
    Last edited by Precision999; Sep 14th, 2018 at 06:09 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width