Hi ALL,
I'm trying to print (to the printer) a small image 265x35 px and it is printed in very poor quality with jagged edges.
When I'm printing it from any other program (e.g. Word, mspaint, etc) it is printed clearly.
Also, the image is printed bigger than it's normal size (approximately 25%). But, I'm not doing any scale in my code.
I did scaled it down to the right size, but the quality still remained very poor and jadged.
The image is a transparent PNG file. I tried with a BMP too, but I got the same results.
I'm using
Graphics g; g.drawImage(headerLogo, x, y, headerLogo.getWidth(), headerLogo.getHeight(), imageObserver);
What may be wrong ?