• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Image.getScaledInstance(...)

 
Ranch Hand
Posts: 664
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)?

 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's an interesting article about that: The Perils of Image.getScaledInstance().
 
Jon Camilleri
Ranch Hand
Posts: 664
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
 
Rancher
Posts: 3324
32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic