Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Splitting large PDFs
  FAQ FAQ  Forum Search   Register Register  Login Login

Splitting large PDFs

 Post Reply Post Reply
Author
Message
gkbeckmann View Drop Down
Beginner
Beginner


Joined: 13 Jun 13
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote gkbeckmann Quote  Post ReplyReply Direct Link To This Post Topic: Splitting large PDFs
    Posted: 13 Jun 13 at 11:54AM
I have an application for splitting multipage PDFs. It uses DPLLoadFromFile and DPLExtractPages to generate a new PDF for every page which it then writes out as a completely new PDF. So far so good.

Some PDFs are too large to load into memory so I plan to use the direct access functions. But I can't find a direct access function to copy a page from the opened PDF file into a new PDF document. Effectively I want a direct access version of DPLExtractPages.

I've searched the documentation, the examples, the forums and the Internet and no joy. Probably I'm just being unimaginative or missing something obvious. But I would really appreciate any help or tips.

Thanks, Gordon
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 14 Jun 13 at 3:11AM
Gordon,

QP.ExtractFilePages internally uses the DA code to split PDF's.

We have recently made some improvements to this function in the 9.15 betas and have also added QP.ExtractFilePagesEx with extra options.

Also if you call QP.TransformFile to optimise the PDF file first then you may find the whole split process will run much faster in certain cases depending on how optimised the input PDF file is.  TransofrmFile can also remove some unused xref entries from the output file thus making the output files smaller also.

The latest improvements can be found on DQPL 9.15 Beta 2 which can be downloaded from here

http://www.debenu.com/blog/debenu-quick-pdf-library-9-15-beta-2-released.html

Andrew.



Edited by AndrewC - 14 Jun 13 at 3:16AM
Back to Top
gkbeckmann View Drop Down
Beginner
Beginner


Joined: 13 Jun 13
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote gkbeckmann Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 13 at 4:08PM
That's absolutely brilliant. Thank you. Working a treat. Now that I know I realise that I should have spotted it from the documentation, next time I'll look harder.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store