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 - RenderDocumentToStream return blank page
  FAQ FAQ  Forum Search   Register Register  Login Login

RenderDocumentToStream return blank page

 Post Reply Post Reply
Author
Message
kk aw View Drop Down
Team Player
Team Player
Avatar

Joined: 02 Feb 10
Location: Malaysia
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote kk aw Quote  Post ReplyReply Direct Link To This Post Topic: RenderDocumentToStream return blank page
    Posted: 02 Feb 10 at 11:39AM
I use the RenderDocumentToStream function to render the following file and it returns a blank page.
The output is in jpg and the resolution is set to 96dpi.

a) http://tinyurl.com/yzusfvm
b) http://tinyurl.com/yglpkdh

KK Aw

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: 02 Feb 10 at 12:45PM
Hi!

You should try the very latest version.
For me (my test-app) rendering works.
Perhaps you should post your code (a snippet) here...

Cheers, Ingo
Back to Top
kk aw View Drop Down
Team Player
Team Player
Avatar

Joined: 02 Feb 10
Location: Malaysia
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote kk aw Quote  Post ReplyReply Direct Link To This Post Posted: 02 Feb 10 at 1:03PM
I am using the latest version.

The codes that I use are as follows:
 
          QP := TQuickPDF0717.Create; {Memcheck}
          myStream:= TMemoryStream.Create;
          try
            QP.unlockKey('...Insert License Key Here...');
            QP.LoadFromFile(aSrcFileName);
            Qp.RenderPageToStream(75, 1, 1, myStream);
            myStream.Position:= 0;
            myStream.SaveToFile(FSrcFileName);
          finally
            QP.Free;            
            myStream.Free;
          end;

I am rendering hundreds of pdf files but a few of them like the sample I gave generates blank images.



Edited by Rowan - 02 Feb 10 at 7:50PM
Back to Top
Jack View Drop Down
Team Player
Team Player
Avatar

Joined: 03 Jun 09
Location: Lompoc, CA
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack Quote  Post ReplyReply Direct Link To This Post Posted: 02 Feb 10 at 4:45PM
Ugh!  Ingo better take out KK's unlock key from his message or it will make it harder to sell the library in the future.
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 02 Feb 10 at 7:51PM
Thanks Jack -- I've removed the license key, luckily it was only a trial license key.
Back to Top
kk aw View Drop Down
Team Player
Team Player
Avatar

Joined: 02 Feb 10
Location: Malaysia
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote kk aw Quote  Post ReplyReply Direct Link To This Post Posted: 03 Feb 10 at 12:06AM
My apologies. 
Guess this is one way of getting attention but still no resolution to my problem Cry.

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: 03 Feb 10 at 6:11AM
"...
I am rendering hundreds of pdf files but a few of them like the sample I gave generates blank images.
..."

So what to do?
Be happy that the very most of your pdf-documents will be rendered fine?
...or sending the few pdf-files with a detailed description regarding the problems to the official support pages. For this case i've posted a thread in the general section (the first steps...).

Cheers, Ingo

Back to Top
kk aw View Drop Down
Team Player
Team Player
Avatar

Joined: 02 Feb 10
Location: Malaysia
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote kk aw Quote  Post ReplyReply Direct Link To This Post Posted: 22 Feb 10 at 9:02AM
I have submitted two cases to the official support pages (1548 and 1558) more than a week ago.  So far I have not got any response.  A possible cause is that the font type used is "unnamed" and this is extract from another PDF file using PDFCreator.
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: 22 Feb 10 at 9:19AM
Hi!

If you don't get a response 'till now post it there (Debenu) and not here. This here is only a user-user-forum ;-)
Again: I've made some tests with my test-app. Preview/rendering works. Textextraction works, too.
If there's something wrong then it should have to do with your local system.
Try it on a nother machine... it will work - i'm pretty sure.

Cheers, Ingo



Edited by Ingo - 22 Feb 10 at 9:26AM
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