Hi Olle,

 it looks like you just need to fill background area
 with wite color before calling drawImage:

Graphics2D g2d = outImage.createGraphics();
g2d.setColor(Color.white);
g2d.fillRect(0, 0, outImage.getWidth(), outImage.getHeight());
g2d.drawImage(inImage, tx, null);
g2d.dispose();

Thanks,
Andrew.
[Message sent by forum member 'bae' (bae)]

http://forums.java.net/jive/thread.jspa?messageID=138726

===========================================================================
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