|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.semanticmetadata.lire.utils.ImageUtils
public class ImageUtils
Some little helper methods.
This file is part of the Caliph and Emir project: http://www.SemanticMetadata.net
Date: 02.02.2006
Time: 23:33:36
| Constructor Summary | |
|---|---|
ImageUtils()
|
|
| Method Summary | |
|---|---|
static java.awt.image.BufferedImage |
scaleImage(java.awt.image.BufferedImage image,
int maxSideLength)
Scales down an image into a box of maxSideLenght x maxSideLength. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageUtils()
| Method Detail |
|---|
public static java.awt.image.BufferedImage scaleImage(java.awt.image.BufferedImage image,
int maxSideLength)
image - the image to scale down. It remains untouched.maxSideLength - the maximum side length of the scaled down instance. Has to be > 0.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||