src/main/java/ch/wetwer/moviefleur/helper/ImageSplitter.java
/**
     * @param image  image to be resized
     * @param width  width to be applied
     * @param height height to be applied
     *
     * @return resized image according to width and height
     */
@param image  image to be resized
@param width  width to be applied
@param height height to be applied

@return resized image according to width and height
@param image image to be resized @param width width to be applied @param height height to be applied @return resized image according to width and height
public static BufferedImage resize(BufferedImage image, int width, int height) {
        BufferedImage resizedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
        resizedImage.getGraphics().drawImage(
                image.getScaledInstance(width, height, Image.SCALE_FAST), 0, 0, null);
        return resizedImage;
    }
public static BufferedImage resize ( BufferedImage image , int width , int height ) { BufferedImage resizedImage = new BufferedImage ( width , height , BufferedImage . TYPE_INT_ARGB ) ; resizedImage . getGraphics ( ) . drawImage ( image . getScaledInstance ( width , height , Image . SCALE_FAST ) , 0 , 0 , null ) ; return resizedImage ; }
@param image  image to be resized
 @param width  width to be applied
 @param height height to be applied
@param image image to be resized @param width width to be applied @param height height to be applied