|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.util.image.ImageUtil
public class ImageUtil
Utils for image processing
Constructor Summary | |
---|---|
ImageUtil()
|
Method Summary | |
---|---|
static byte[] |
resizeImage(java.lang.Object blobImage,
java.lang.String strWidth,
java.lang.String strHeight,
float fQuality)
Resize an image to a given size with a given quality using a JPEG output format |
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 byte[] resizeImage(java.lang.Object blobImage, java.lang.String strWidth, java.lang.String strHeight, float fQuality)
blobImage
- The image as a BLOBstrWidth
- The new widthstrHeight
- The new HeightfQuality
- The quality as a float between 0.0 (lower) and 1.0 (higher)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |