public ImageHandlerBuilder resize ( int width , int height ) { BufferedImage resize = Scalr . resize ( image , Scalr . Mode . FIT_EXACT , width , height ) ; image . flush ( ) ; image = resize ; return this ; }
Resize the image to the given width and height