The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 The Perils of Image.getScaledInstance()
Subject:  optimization
Date:  2007-05-15 18:07:29
From:  rainsill


A simple optimization might be to "shift" instead of "divide"

w /= 2 and h /=2
w >>= 1 and h >>= 1

 Feed java.net RSS Feeds