title: What is the best way to scale images in Java?
body: <p>I have a web application written in Java (Spring, Hibernate/JPA, Struts2) where users can upload images and store them in the file system. I would like to scale those images so that they are of a consistent size for display on the site. What libraries or built in functions will offer the best results? I will consider the following criteria in making my decision (in this order):</p>
  
  <ul>
  <li>Free/Open Source (essential)</li>
  <li>Easy to implement</li>
  <li>Quality of results</li>
  <li>Performance</li>
  <li>Size of executable</li>
  </ul>