Rotate and scale an image witohout deforming it

Hello you all!

I have to rotate and scale an image, but i don't wont to deform it.

I'm thinking to something like 16/9 images on 4/3 screens (with two horizontal or vertical black lines around the scaled image)...

I thinked to transform the image in bitmap format, then create a bigger image and fill the empty spaces with zero-pixels...

Is there a simplest and more efficient way to do it with 2D java classes?

Thank you!

[461 byte] By [Don_Fabrizioa] at [2007-11-27 5:01:27]
# 1
See reply 8 in [url= http://forum.java.sun.com/thread.jspa?threadID=512099&messageID=2435606]Help to rotate image[/url] for an idea.
crwooda at 2007-7-12 10:18:54 > top of Java-index,Security,Cryptography...
# 2
Thank you!
Don_Fabrizioa at 2007-7-12 10:18:54 > top of Java-index,Security,Cryptography...