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 > General Discussion
  New Posts New Posts RSS Feed - DACapturePage Reliability
  FAQ FAQ  Forum Search   Register Register  Login Login

DACapturePage Reliability

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


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Topic: DACapturePage Reliability
    Posted: 16 May 07 at 3:19PM
I have been using QuickPDF for a few years now and I understand the complexities of extracting text, memory issues, rendering etc. To be honest, I would not want to depend on QuickPDF for certain functions (especially rendering).

But, for those who have the source code (and understand it), how reliable is DACapturePage? I am considering using it in an automated environment with a wide variety of PDF's to handle imposition. I just don't want to go down that path if DACapturePage (and DADrawCapturedPage) is a complex portion of the code and cannot be relied upon.

Thanks in advance,

Brandon
Back to Top
brandon View Drop Down
Beginner
Beginner


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 07 at 12:29PM
Well, I got no response so I'll respond to myself. I have tested about 50 different PDF's generated from several different applications. So far only 1 PDF was unreadable after processing. Here is what I am doing:

DAOpenFile
DANewPage
DASetPageSize (of new page)
DAFindPage (find 1st page)
DACapturePageEx (1st Page)
DADrawCapturedPage (on new page 2)
DASaveAsFile (give it a new filename)

The one file that is unreadable gives an error when the page is displayed in Acrobat 6 Professional. It say "An unrecognized token 'qqQ' was found."  The first time I tried to open the same PDF file with Acrobat Reader 8.0 it crashed completely. The 2nd time I tried it I got an error "Could not find the XObject named 'iSQPCap1'. 

The original PDF file is PDF version 1.5 format. It can be opened and printed fine from both Acrobat Pro 6 and Acrobat Reader 8, so I have to assume that QuickPDF is doing something to the file during the capture and draw methods. Anybody want to take a peek at the PDF before and after and see what is going on?

Thanks,

Brandon
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 May 07 at 2:50PM
Hi Brandon!

Marian had told it already in another thread...
The DA-functions were made to solve the memory-problems ... with less success. It seems that few DA-function aren't complete identical (inside) to there equivalent function (same name - without DA).
Perhaps you should make another test with the "normal" functions?
BTW: I've never thought that your test would bring this result. I've thought that there were more broken files ;-)

Best regards,
Ingo

Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 07 at 3:05PM
Hi brandon,
I have sayed in another thread that DA* function does not work well with PDF Indirected objects. Please use the normal functions in future, and avoid the DA interface as much as possible.
 
Thank you Ingo for answering this one.
 
Best regards, Marian
Back to Top
brandon View Drop Down
Beginner
Beginner


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 07 at 3:54PM
Thanks Ingo and Marian. My long term goal will be to draw a captured page on to the background of possibly 10,000+ pages. Do you still think normal functions will work or might I have memory issues?

Thanks in advance,

Brandon
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 May 07 at 4:02PM
Hi!

Like we can always say:
It depends on ... ;-)
The pages are only one point. How many objects? How many embedded pictures? How many ... How many ...?
I've lots of pdf-files on my disks. Over 90 percent are below 1 mb, 8 percent between 1 and 5 mb and (perhaps) 2 percent up to 262 mb. The 90 percent are fine with QuickPDF... the 8 percent i think "okay... many mbs need much time" ... the 2 percent often needs the task manager ;-)   I can live with this and most of my customers, too.

Best regards,
Ingo



Edited by Ingo - 29 May 07 at 4:03PM
Back to Top
brandon View Drop Down
Beginner
Beginner


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 07 at 1:53PM
Just thought I would give an update. We tested quite a few PDF's using capturepage (normal function - no DA) and we have not found a PDF yet that has caused an issue.  Right now we are just capturing page one and drawing it on page two. We don't have any pdf's generated from Acrobat 8.0. I would be curious if there would be any problems.

Regards,

Brandon
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: 30 May 07 at 5:25PM
To all members:
Few pdfs made by acrobat 8... with encryption and without encryption... with main password and without... with more than one page...
would be good to have for testing.

If somebody have such files please put it online and post the links here. This could be good for all of us.

Thanks a lot in advance.

Best regards,
Ingo


Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 07 at 9:23AM
Hi there, 
despite the answer from Ingo (hope he is not opset with me) I would be glad to receive your PDF files (any format posible).
 
Please feel free to send me as much documents (PDF 1.7 Version) as you can to quickpdf(at)qmx.net . The solution maybe will not be exposed in public, but through sponsoring it may be another case ;-)
 
Best regards, Marian
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: 31 May 07 at 2:02PM
Marian.
We're all developing for and mainly with QuickPDF.
So to get access to new pdf-files is for us very essential, too.
So again my plea to all: If anybody hase few new pdf-files like i described please upload them for a short time and post the link here. Thanks a lot.
Best regards,
Ingo

Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 07 at 5:02AM
Ingo, you are right.
This is the best way of course. ( I was just thinking simpler :-) )
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