|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.image4j.util.ImageUtil
public class ImageUtil
Provides utility methods for handling images (java.awt.BufferedImage)
Constructor Summary | |
---|---|
ImageUtil()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
scaleImage(java.awt.image.BufferedImage src,
int width,
int height)
Creates a scaled copy of the source image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageUtil()
Method Detail |
---|
public static java.awt.image.BufferedImage scaleImage(java.awt.image.BufferedImage src, int width, int height)
src
- source image to be scaledwidth
- the width for the new scaled image in pixelsheight
- the height for the new scaled image in pixels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |