Hi all:
I used the Image.getScaledInstance() method with SCALE_SMOOTH to resize my image and found that the result is good but the preformance is poor.
After some search, it seems that I should create an empty resized BufferedImage then use its Graphics to redraw the original image.
But I can't find a correct rendering hint combination to get a result as good as I got from the getScaledInsance() method.
Can anybody help to tell me what rendering hint value should I set as to get the best result??
Thanks!!
=========================================================================== 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".
- [JAVA2D] Image.getScaledInstance() VS Graphics2D.drawI... Ken CL Yang
- Re: [JAVA2D] Image.getScaledInstance() VS Graphic... Dmitri Trembovetski
