What is the best way to scale images in Java?
Posted
by Peter Kelley
on Stack Overflow
See other posts from Stack Overflow
or by Peter Kelley
Published on 2009-05-03T07:59:04Z
Indexed on
2010/05/08
9:38 UTC
Read the original article
Hit count: 263
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):
- Free/Open Source (essential)
- Easy to implement
- Quality of results
- Performance
- Size of executable
© Stack Overflow or respective owner