|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageResizer
Abstraction interface for resizing images. The implementation class could be optimized for speed or quality or image type etc.
| Field Summary | |
|---|---|
static float |
DEFAULT_COMPRESSION_QUALITY
The default compression quality |
| Method Summary | |
|---|---|
void |
resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight)
Read an image from the input file, resize the image and write it to the destination file. |
void |
resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight,
boolean square)
Read an image from the input file, resize the image and write it to the destination file. |
void |
resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight,
boolean square,
EXIFOrientation photoOrientation)
Read an image from the input file, resize the image and write it to the destination file. |
| Field Detail |
|---|
static final float DEFAULT_COMPRESSION_QUALITY
| Method Detail |
|---|
void resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight)
throws IOException
ImageResizer.resize(java.io.File,java.io.File,float,int,int,boolean,EXIFOrientation) with default value of square as false.
IOException
void resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight,
boolean square)
throws IOException
IOException
void resize(File infile,
File outfile,
float compressionQuality,
int maxWidth,
int maxHeight,
boolean square,
EXIFOrientation photoOrientation)
throws IOException
IOException
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers