Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Image.getScaledInstance(...)

 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you kindly give an example on when to change the algorithm, what algorithms are in use, and, which are the most relevant, for the call to Image.getScaledInstance(int Width, int Height, int Hints)?

 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an interesting article about that: The Perils of Image.getScaledInstance().
 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Rob Camick
Ranch Hand
Posts: 2703
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you ever do any searching on your own?

If you go to Google and enter "getScaledInstance", the first link that comes up is the one given to you by Darryl.

Its time you learned some basic searching and problem solving techniques, like using Google and like posting a SSCCE with your questions.
 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Camick wrote:Do you ever do any searching on your own?

If you go to Google and enter "getScaledInstance", the first link that comes up is the one given to you by Darryl.

Its time you learned some basic searching and problem solving techniques, like using Google and like posting a SSCCE with your questions.


Yes sure, I just forgot to search

My ~10k hyperlinks at http://www.delicious.com/jon80.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!