Loading...

Text quality and method used for image creation

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Text quality and method used for image creation

Postby louis » Thu Aug 06, 2009 6:53 pm

Hi Loic,

Previously, I used DisplayFromPdfFile method to create an image (which contains only text), then DrawText to add some texts in the image.
I would like to replace DisplayFromPdfFile method by other DrawText methods, so I use first CreateNewImage to create an empty image.
It seems that the quality of the texts is better with DisplayFromPdfFile when we zoom or change the viewer size.
Is it normal ? Do we have use some other properties or methods ?

Regards,
Louis
Attachments
TextQuality.JPG
louis
 
Posts: 49
Joined: Tue Apr 28, 2009 6:18 pm

Horizontal and Vertical Resolution are important..

Postby louis » Thu Aug 06, 2009 7:46 pm

Hi again,

In fact, I found that the resolution was automatically set to 200 with DisplayFromPdfFile (with my example only ?), and to 96 with CreateNewImage.
So, after setting the resolution to 200 with SetHorizontalResolution and SetVerticalResolution, that's correct. The quality of the display is good.

Sorry to create a topic with the solution after a little while, but maybe useful for everybody...

That should very nice if a future version of the documentation includes in "See also" the main properties/methods to be used !

Louis
louis
 
Posts: 49
Joined: Tue Apr 28, 2009 6:18 pm


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron