goja-core/src/main/java/goja/core/libs/Images.java
public static void resize(File originalImage, File to, int w, int h) {
        resize(originalImage, to, w, h, false);
    }
public static void resize(File originalImage, File to, int w, int h) {
        resize(originalImage, to, w, h, false);
    }
public static void resize ( File originalImage , File to , int w , int h ) { resize ( originalImage , to , w , h , false ) ; }
Resize an image

@param originalImage The image file
@param to            The destination file
@param w             The new width (or -1 to proportionally resize)
@param h             The new height (or -1 to proportionally resize)
Resize an image