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 - Extracting Pages
  FAQ FAQ  Forum Search   Register Register  Login Login

Extracting Pages

 Post Reply Post Reply
Author
Message
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Topic: Extracting Pages
    Posted: 27 Mar 07 at 11:04PM
Hi, when I extract pages using QuickPDF, pages are much bigger than extracting them with Adobe Acrobat itself.

Page 102 - 2106 Kb - 61 Kb

Page 411 - 2100 Kb - 55 Kb

Anyone knows why?

Regards,

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 1:06AM
Hi Jose!

Are there any images on these pages?
If there's one image reference for each page inside the pdf... QuickPDF put it on each extracted page? Does the extracted pages  from Acrobat and QuickPDF looking identical?

Best regards,
Ingo

Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 10:00AM
I little one at the the end of the page.
The pages are absolutely identicals.
If you don´t mind I can send them to you.
I have a procedure that is lasting forever, because the size of the files...

Regards,
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 10:03AM
Okay... send it.

Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 10:04AM
One thing that can help. When I was Zipping the 4 files to send to you (just in case), the Ratio for Acrobat pages was 16% and the Ratio for QuickPDF pages was 92%!!!
ZIP File Size is 427 Kb.


Regards,
Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 10:05AM
What is your e-mail address?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 12:07PM
ingo[dot]schmoekel[at]ewetel[dot]net

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 12:13PM
Originally posted by jose.cavalcanti jose.cavalcanti wrote:

the Ratio for Acrobat pages was 16% and the Ratio for QuickPDF pages was 92%!!!


Hi Jose!

In this case perhaps you should try functions like
CompressContent
CompressPage
CompressFonts
CompressImages
first.

Best regards,
Ingo

Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 1:39PM
Sent.

Regards,
Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 07 at 1:41PM
The problem is that it´ll take more time to extract pages in my procedure...
I think that I´ll need another way to do this.

Regards,
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 07 at 12:58AM
Hi Jose!

Did you try the compress-functions?

Best regards,
Ingo

Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 07 at 9:27AM
No. The problem itself is not the size of the extracted page. The problem is that it is taking much more time to extract these pages than other PDF files and it´s taking a long time to extract all the pages of the file.
I think that the problem is in the source file.
Today I´ll be studying this problem.
I´ll let you know of any solution.
Thanks anyway.

Best Regards,
Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 07 at 8:17PM
Do you know of any other PDF Library that I can use to extract pages from a PDF document?
I want to see where is the problem.

Regards,
Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 07 at 12:38PM
I´m here again Ingo.Embarrassed

As you can remember, I need to extract pages from PDFs Documents. Everything was going fine, but with ONE Publication, the extracted page was 1.215 Mb size from a 240 pages Document with 13.226 Mb size.
When I extract the same page from Adobe Acrobat professional 7 the size is 39 Kb.
For this Publication I wrote a piece of code using Adobe Acrobat SDK, but it´s giving me a lot of problems (Out of Memory Error, Server Error, etc). The code is:


LPARAMETERS    toPDFDoc, tcFileNameFrom, tcFileNameTo, tnNumerodaPagina

LOCAL    llSourceDoc, loJSObject, loExtractedDoc

llSourceDoc    = toPDFDoc.Open(tcFileNameFrom)
loJSObject     = toPDFDoc.GetJSObject()
loExtractedDoc = loJSObject.ExtractPages(tnNumerodaPagina - 1, tnNumerodaPagina - 1)
               = loExtractedDoc.SaveAs(tcFileNameTo)
               = loExtractedDoc.CloseDoc()
               = toPDFDoc.Close()
              
RETURN

Do you know of any other method to extract pages from a PDF Document?

Regards,
Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 07 at 12:48PM
Have you tried pdftk? It's based on iText, and comes with complete source code. There's a .NET port of iText which you may want to use if pdftk works for you.

Edited by chicks - 26 Apr 07 at 12:49PM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 07 at 2:42AM
Hi Jose!

The real PDF-expert here is Chicks ;-)
You should try pdftk/iText.
There's a C#-version iTextSharp, too.

Best regards,
Ingo

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. About — Contact — Blog — Support — Online Store