Hi

According my experience with printing BufferedImages, there is a difference between

>>    Graphics2D g;
>>    AffineTransform t;
>>    BufferedImage b;
>>
>>    a)
>>        g.scale(2.0, 2.0);
>>        g.drawImage(b, 0, 0, null);
>>
>>    b)
>>        t.scale(2.0, 2.0);
>>        g.drawImage(b, t, null);

Scaling the Image by a), set RenderingHint for Bilinear Interpolation shows now effect 
- the printed image looks always scaled by Nearest Neighbor Interpolation
(already described in message 
http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0301&L=java2d-interest&F=&S=&P=691)

On the other hand, the print job size in case a) is quite smaller (if scale > 1.0) 
than in case b). So may be in case a), the scaling is done  by the printer (or native 
print driver) - but not by java.

But I am only guessing, what really causes the different results, drawing images into 
a Graphic2D associated with a print device, by a) or b)

gunter.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to