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!
RenderPageToFile -> EMF |
Post Reply |
Author | |
waynefulcher
Senior Member Joined: 23 Jun 08 Location: United States Status: Offline Points: 99 |
Post Options
Thanks(0)
Posted: 01 Mar 10 at 10:46PM |
I have a PDF that was built with Adobe Acrobat (i think version 7.x).
I downloaded the trial version of Quick PDF version 7.17 and I am using the DCUs for Delphi 7.
I wrote a simple routine to load a pdf and then try to render as an EMF.
1. The text on the emf looks horrible.
2. There is an image at the top of the pdf that is not coming out right either, it has streaks running through it.
I have tried various DPIs and also rendered as bmp, jpg, png and tiff.
All of those formats the text looks great but the image is still messed up.
I really need to be able to export as EMF.
Here is my sample code but I dont know how to attach the original pdf or the output emf.
Any help will be greatly appriciated.
procedure TForm1.Button1Click(Sender: TObject);
var PDF: TQuickPDF0717; begin PDF := TQuickPDF0717.Create; try PDF.UnlockKey(PDF_Unlock_Key); PDF.LoadFromFile('C:\Temp\Test.pdf') ; PDF.RenderPageToFile(300, 0, 3, 'C:\Temp\Test.emf') ; finally PDF.Free; end; end; |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Wayne!
If you tried already various syntax alternatives with no success then this case looks like a bug or a not well developed functionality - Post it on the official support page. Cheers, Ingo Edited by Ingo - 02 Mar 10 at 6:16AM |
|
Didi
Beginner Joined: 23 Mar 10 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
I have another question about the RenderPageToFile command:
If I use QuickPDF in a little testprogram everything is fine. If I include the code into our application, I have to set the DPI values about ten times higher to get the same result, and after several calls, the program crashes.
Of what depends the bitmap's number of pixels ? (additional to DPI setting)
|
|
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