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 - Bug in ExtractFilePages?
  FAQ FAQ  Forum Search   Register Register  Login Login

Bug in ExtractFilePages?

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


Joined: 29 Jan 10
Location: NRW Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sobisch Quote  Post ReplyReply Direct Link To This Post Topic: Bug in ExtractFilePages?
    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?


Edited by sobisch - 10 Feb 10 at 8:39AM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sobisch View Drop Down
Beginner
Beginner


Joined: 29 Jan 10
Location: NRW Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sobisch Quote  Post ReplyReply Direct Link To This Post 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 :/
Back to Top
sobisch View Drop Down
Beginner
Beginner


Joined: 29 Jan 10
Location: NRW Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sobisch Quote  Post ReplyReply Direct Link To This Post 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 ;)


Edited by sobisch - 10 Feb 10 at 3:26PM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 11 Feb 10 at 6:13AM
Hi!

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

Cheers, 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. AboutContactBlogSupportOnline Store