src/main/java/ch/wetwer/moviefleur/helper/ImageSplitter.java
/**
     * @param frameDefault VideoFrame shown as in default video
     *
     * @return list with leftFrame at [0] and rightFrame at [1]
     */
@param frameDefault VideoFrame shown as in default video
@return list with leftFrame at [0] and rightFrame at [1]
@param frameDefault VideoFrame shown as in default video @return list with leftFrame at [ 0 ] and rightFrame at [ 1 ]
public static List<BufferedImage> split(BufferedImage frameDefault) {
        BufferedImage splitLeft = stretch(crop(frameDefault,
                frameDefault.getWidth() / 2, frameDefault.getHeight()));
        BufferedImage splitRight = stretch(crop(frameDefault,
                frameDefault.getWidth() / 2, 0,
                frameDefault.getWidth() / 2, frameDefault.getHeight()));
        return Arrays.asList(splitLeft, splitRight);
    }
public static List < BufferedImage > split ( BufferedImage frameDefault ) { BufferedImage splitLeft = stretch ( crop ( frameDefault , frameDefault . getWidth ( ) / 2 , frameDefault . getHeight ( ) ) ) ; BufferedImage splitRight = stretch ( crop ( frameDefault , frameDefault . getWidth ( ) / 2 , 0 , frameDefault . getWidth ( ) / 2 , frameDefault . getHeight ( ) ) ) ; return Arrays . asList ( splitLeft , splitRight ) ; }
@param frameDefault VideoFrame shown as in default video
 @return list with leftFrame at [0] and rightFrame at [1]
@param frameDefault VideoFrame shown as in default video @return list with leftFrame at [ 0 ] and rightFrame at [ 1 ]