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!
Some PDF files are not rendered.. |
Post Reply |
Author | |
lakkan
Senior Member Joined: 10 Dec 15 Location: Bangalore Status: Offline Points: 53 |
Post Options
Thanks(0)
Posted: 28 Oct 16 at 10:03AM |
Hi,
I have two PDF files, when I render them using DEBENU API: QP.RenderPageToFile(50,1,0,"pdfimage.bmp"); , it creates empty BMP file, with out any picture in it. They are single paged PDF files, and its size:17 MB, 19 MB respectively. When it is rendered with DPI Value=100, it generates blank white image with dimension: 5284 x 3311, and its bitmap depth is : 24. Same PDF file, when it is viewed using Adobe Reader, it displays the picture with good quality. Are there any alternative ways, to get picture using DEBENU API. I am using DEBENU 12.11 version, and the tool is integrated with WIN32 API and C++. Regards Lakkan |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi,
if the dimensions are as large as described i would try a another image-format to save storage. Please read here about gdi+ and other render engines (is gdi+ on your system?): http://www.debenu.com/docs/pdf_library_reference/RenderPageToFile.php Here is a "how to" from the Debenu-kb: http://www.debenu.com/kb/use-rendering-printing-add-debenu-quick-pdf-library/ Here is a render sample with scaling (good if you have large images as described): http://www.debenu.com/kb/render-a-pdf-as-an-image-with-an-asymmetrical-dpi/ This isn't exactly for your problem but it will help, too: http://www.debenu.com/kb/programmatically-render-pdf-files-in-windows-forms-with-net-and-c/ You should check always the returning values from the functions to determine where's the problem. Good luck ;-) BTW: I've got this all from the debenu support pages - you should be able to do this by your own ;-) |
|
Cheers,
Ingo |
|
lakkan
Senior Member Joined: 10 Dec 15 Location: Bangalore Status: Offline Points: 53 |
Post Options
Thanks(0)
|
Hi Ingo,
Thanks for the information. It was useful. I could able to fix the rendering issue. Lakkan
Edited by lakkan - 01 Dec 16 at 10:05AM |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store