public class ImageUtil extends Object
| Constructor and Description |
|---|
ImageUtil() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public static byte[] resizeImage(Object blobImage, String strWidth, 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)Copyright © 2017 City of Paris. All rights reserved.