Class ImageUtils


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

      • 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