org.af.commons.io
Class ImageManager
java.lang.Object
org.af.commons.io.ImageManager
public class ImageManager
- extends Object
|
Method Summary |
static void |
addBorder(File originalFile,
File resizedFile,
int newWidth,
int newHeight,
float quality,
boolean soften)
|
static BufferedImage |
getBufferedImage(Image i)
|
static void |
resize(File originalFile,
File resizedFile,
int newHeight,
float quality,
boolean soften)
|
static void |
resize(File originalFile,
File resizedFile,
int newWidth,
int newHeight,
float quality,
boolean soften)
|
static BufferedImage |
resize(Image i,
int newWidth,
int newHeight,
float quality,
boolean soften)
|
static BufferedImage |
soften(BufferedImage bufferedImage)
|
ImageManager
public ImageManager()
soften
public static BufferedImage soften(BufferedImage bufferedImage)
addBorder
public static void addBorder(File originalFile,
File resizedFile,
int newWidth,
int newHeight,
float quality,
boolean soften)
throws IOException
- Throws:
IOException
resize
public static void resize(File originalFile,
File resizedFile,
int newWidth,
int newHeight,
float quality,
boolean soften)
throws IOException
- Throws:
IOException
resize
public static BufferedImage resize(Image i,
int newWidth,
int newHeight,
float quality,
boolean soften)
resize
public static void resize(File originalFile,
File resizedFile,
int newHeight,
float quality,
boolean soften)
throws IOException
- Throws:
IOException
getBufferedImage
public static BufferedImage getBufferedImage(Image i)