Hi Ken,

  Take a look at this:
    
http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_How_do_I_create_a_resized_copy

  Thanks,
    Dmitri


On Tue, Mar 28, 2006 at 08:45:06AM +0800, Ken CL Yang wrote:
 > 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".

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