Print Page | Close Window

RenderDocumentToStream return blank page

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=1334
Printed Date: 29 Sep 24 at 1:21AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: RenderDocumentToStream return blank page
Posted By: kk aw
Subject: RenderDocumentToStream return blank page
Date 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




Replies:
Posted By: Ingo
Date 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


Posted By: kk aw
Date 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.



Posted By: Jack
Date 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.


Posted By: Rowan
Date Posted: 02 Feb 10 at 7:51PM
Thanks Jack -- I've removed the license key, luckily it was only a trial license key.


Posted By: kk aw
Date 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.



Posted By: Ingo
Date 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



Posted By: kk aw
Date 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.


Posted By: Ingo
Date 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




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