By mkyong
via mkyong.com
Published: Oct 01 2009 / 19:44
![]() | |
| BIRT 3.7 | |
| Written by: Michael Williams | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By mkyong
via mkyong.com
Published: Oct 01 2009 / 19:44
Comments
Benjamin Winterberg replied ago:
You can just use BufferedImage#getScaledInstance()
mkyong replied ago:
Can BufferedImage#getScaledInstance() specify the width and height of an image?
philho replied ago:
Just take a look... :-) (answer is: yes)
But see also http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html (The Perils of Image.getScaledInstance()) why one must not use this... :-D
mkyong replied ago:
wow...this article is great...thanks for sharing this
dn68495 replied ago:
check out this for example: http://www.servletsuite.com/servlets/imagescale.htm
mkyong replied ago:
Thanks for the example provided, really appreciated it
Voters For This Link (19)
Voters Against This Link (0)