public class ImageUtil
extends java.lang.Object
Constructor and Description |
---|
ImageUtil() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
scaleImage(java.awt.image.BufferedImage src,
int width,
int height)
Creates a scaled copy of the source image.
|
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