About aliasing

I draw image in my application, and it has aliasing.I use the rendering hints, but it seems not to work. When I zoom in or out the image, its edge jag . Only when the image is the orginal size, it displays well.

So how can I remove the aliasing and keep the edge clear?

Pardon for my poor English.

Thanks if anyone could help me!

[354 byte] By [mys_mma] at [2007-10-3 4:01:46]
# 1
I am not sure i understand your problem exactly.If you are scaling images then it is expected it will not scale as nicely as vector graphics. Try interpolation hints to improve smoothing.Can you post sample source code explaining what are you actually doing?
neigora at 2007-7-14 22:01:03 > top of Java-index,Security,Cryptography...
# 2
Thank you neigor.I have used the interpolation hints,and made the edge of the image clear now.
mys_mma at 2007-7-14 22:01:03 > top of Java-index,Security,Cryptography...
# 3
g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BILINEAR);
mys_mma at 2007-7-14 22:01:03 > top of Java-index,Security,Cryptography...