Print Page | Close Window

Bug in ExtractFilePages?

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=1342
Printed Date: 02 Feb 26 at 10:53PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Bug in ExtractFilePages?
Posted By: sobisch
Subject: Bug in ExtractFilePages?
Date Posted: 10 Feb 10 at 8:39AM
I used ExtractFilePages() to create a new pdf file with a selection of pages from another pdf file
 
This works fine, a new PDF with the selected pages is available, and Adobe Acrobat displays the new pdf correctly
 
But, if i now make thumbnails of the new pdf with DARenderPageToFile(), then I have no text in the thumbnails! So the thumbnail contains images und other objects, but No Text :/
 
If I make thumbnails from the original pdf, from which the new pdf was extracted, it works fine!
 
I tried another program to extract images of each page (ghostscript on the commandline). And here I got page thumbnails WITH text of the original and the extracted pdf... Only QuickPDF has no text in the thumbnails of the pdf, which QuickPDF has extracted.
 
Has anyone an idea how I can fix this?



Replies:
Posted By: Ingo
Date Posted: 10 Feb 10 at 12:27PM
Hi!

If you're doint it in one run then that's the problem.
ExtractFilePages is a normal function... Don't mix these normal functions with DA-functions!
If you need this DA-function then you should create the thumbnails in a second process.

Cheers, Ingo


Posted By: sobisch
Date Posted: 10 Feb 10 at 12:34PM

the script which creates the Thumbnails is a different script

It creates perfekt thumbnails of the original pdf, but in the extracted pdf pages (new pdf), there is no Text in the thumbnails :/


Posted By: sobisch
Date Posted: 10 Feb 10 at 3:20PM
Something goes wrong...
 
If I use DAExtractPageText($filehandle, $pagehandle,0) on the extracted new pdf... I got content Like this:
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
??????????????????????###?????%%%%%%
&????????????(((())))))*#?????????????
??????????+++++++++???????????++++???????????????
 
The same Script on the Original File extract the plain text without problems :/
 
Maybe I should try to re-install Quick PDF ;)


Posted By: Ingo
Date Posted: 11 Feb 10 at 6:13AM
Hi!

Reinstall sure won't help.
Post it in the official Debenu-support-forum.

Cheers, Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk