Class ImageUtils
- java.lang.Object
-
- fr.paris.lutece.plugins.document.utils.ImageUtils
-
public final class ImageUtils extends Object
Image utils class
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]resizeImage(byte[] byteArray, int width)Resize an image
-
-
-
Method Detail
-
resizeImage
public static byte[] resizeImage(byte[] byteArray, int width) throws IOExceptionResize an image- Parameters:
byteArray- the original byte arrauwidth- the new width- Returns:
- the resize byte array
- Throws:
IOException- occurs during treatment
-
-