Hi,

    I would like to rotate an image but left and upper side of image are
always cut-off. It seems there's missing some translation...

-----cut here---------
AffineTransform
rotateTransform=AffineTransform.getRotateInstance(getTheta(),

srcImage.getWidth()/2, srcImage.getHeight()/2);

AffineTransformOp rotateOp = new
AffineTransformOp(rotateTransform,getRendering());

BufferedImage target = rotateOp.filter(srcImage,null) ;
----------------

    Can someone help me on rotating properlly an image ?
    An example would be appreciated.

    Thanks in advance.

Regards,
    Nuno

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