Good quality image prints in poor quality

J Trahair

Well-known member
Joined
May 14, 2008
Messages
175
Location
Spain
Programming Experience
10+
Hi all.

I have an image copied from the clipboard of a name and a company logo. The image is set at 72 pixels per inch. At its 1:1 size - about 4in wide x 1 in deep - it looks good. Sharp edges, the white background is clean.

However, printing it using
VB.NET:
ev.Graphics.DrawImage(Image.FromFile(mstrPathFilenameAndTagCustomersLogo), 20, 12)
onto a virtual printer eg. a pdf file (so no actual printer involved), the quality is bad - the lettering has large-grain pixels, and the whole image looks as if someone sprayed paint all over it.

Is this a VB thing, or is it to do with the image itself? I used Paint Shop Pro v.5.

Thank you.
 
If you use any image application and print to same printer, does the same thing happen with this image?

You can also change properties of the Graphics instance that affect various aspects of quality, for example InterpolationMode property.
Graphics Class (System.Drawing)
 
Back
Top