fr.paris.lutece.util.image
Class ImageUtil
java.lang.Object
fr.paris.lutece.util.image.ImageUtil
public class ImageUtil
- extends Object
Utils for image processing
|
Method Summary |
static byte[] |
resizeImage(Object blobImage,
String strWidth,
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 |
ImageUtil
public ImageUtil()
resizeImage
public static byte[] resizeImage(Object blobImage,
String strWidth,
String strHeight,
float fQuality)
- Resize an image to a given size with a given quality using a JPEG output format
- Parameters:
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)
- Returns:
Copyright © 2014 Mairie de Paris. All Rights Reserved.