fr.paris.lutece.plugins.document.utils
Class ImageUtils
java.lang.Object
fr.paris.lutece.plugins.document.utils.ImageUtils
public final class ImageUtils
- extends Object
Image utils class
|
Method Summary |
static byte[] |
resizeImage(byte[] byteArray,
int width)
Resize an image |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resizeImage
public static byte[] resizeImage(byte[] byteArray,
int width)
throws IOException
- Resize an image
- Parameters:
byteArray - the original byte arrauwidth - the new width
- Returns:
- the resize byte array
- Throws:
IOException - occurs during treatment
Copyright © 2014 Mairie de Paris. All Rights Reserved.