Extract Pages always failing
Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1944
Printed Date: 26 Jan 26 at 10:39AM Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com
Topic: Extract Pages always failing
Posted By: RedOctober
Subject: Extract Pages always failing
Date Posted: 04 Sep 11 at 8:05PM
I'm using D7 and QuickPDF Library 7.25
When ever I use ExtractPages, the resulting document is damaged. When I try to view it in Adobe the error message:
The document's page tree contains an invalid code
appears. Then, when Adobe displays the document, the first page is OK, but all the rest are tiny little white squares. I've also tried to view the document in PDF Viewer+ by Nuance. Same problem. So I don't think it's a problem with the viewer.
This happens on all different .pdf files I can find, so I don't think it's a problem with the source .Pdf file.
Is there a bug fix for this? Or am I doing something wrong?
|
Replies:
Posted By: Ingo
Date Posted: 04 Sep 11 at 8:12PM
RedOctober wrote:
Or am I doing something wrong?
|
Hi RedOctober!
You should post the relevant code snippet and upload the problem-pdf anywhere online for us to test. As you can read in the actual Quick PDF Library Blog version 7.26 offers many fixes/enhancements for page extraction/-handling... try it.
Cheers, Ingo
|
Posted By: Rowan
Date Posted: 04 Sep 11 at 8:14PM
|
As a quick trick try making calls to RemoveSharedLayers and CombineLayers prior to the extraction process...
|
Posted By: RedOctober
Date Posted: 04 Sep 11 at 11:41PM
|
726 works! Thanks for the quick response. This is for a current "in production" system, so getting a quick fix for QuickPDF was important.
|
|