Class ImageUtils

java.lang.Object
fr.paris.lutece.plugins.document.utils.ImageUtils

public final class ImageUtils extends Object
Image utils class
  • Method Details

    • resizeImage

      public static byte[] resizeImage(byte[] byteArray, int width) throws IOException
      Resize an image
      Parameters:
      byteArray - the original byte arrau
      width - the new width
      Returns:
      the resize byte array
      Throws:
      IOException - occurs during treatment