I need to generate an image to print on a small card (15cm x 5cm), the
image will be cut from the standart a4 sheet; it was done by MS Access
proggie before and I'm rewriting it into ASP.NET.
I generate the image using GDI and write it to utput stream using Jpeg
encoder and appropriate mime type in the header.
Problem is, image is printed poorly qualitywise, I can't figure out how
to affect size/quality ratio.
I use all possible high-quality params on Bitmap and Graphics object
and Quality = 100 paramter for the encoder.
I am able to affect size AND quality by altering image's pixel size,
so I either get a huge high-quality image, or a small low-quality
image. How do I get a small high-quality image? Do I set some
parameters in GDI or change some IE settings, or both?
Is there any other way to print the image?