[5172] in java-interest
Image rotation
daemon@ATHENA.MIT.EDU (Christopher Helck)
Tue Jan 30 18:33:52 1996
Date: Tue, 30 Jan 1996 15:26:12 -0500
From: chris@telesph.com (Christopher Helck)
To: java-interest@java.sun.com
Hi,
I have some images that I want to rotate by 90 degrees. Can anyone give me some
guidence or examples?
My thoughts are to make a subclass of ImageFilter called RotateFilter. The new
filter should translate each point as follows:
(x,y) -> (y, image.getWidth()-x)
I've written some simple filters to lighten and darken images, but nothing as
complex as this. Any help would be welcome.
I would also like to pickup some technical background here, the Image classes
(ImageProducer etc) seem very complex to me (I did graphics on Ataris, Radio
Shacks Color Computer, and the Commodore 64) and I don't understand or
appreciate the problems the Image classes are trying to solve.
Thanks,
Christopher J. Helck (chris@telesph.com)
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com