src/main/java/ch/wetwer/moviefleur/helper/AlphaCombiner.java
/**
     * @param imgFrameLeft  will be the img in the background with color red for left
     * @param imgFrameRight will be the img in the foreground with color blue for right and a transparency of 0.7
     *
     * @return Return combined image with both images
     */
@param imgFrameLeft  will be the img in the background with color red for left
@param imgFrameRight will be the img in the foreground with color blue for right and a transparency of 0.7

@return Return combined image with both images
@param imgFrameLeft will be the img in the background with color red for left @param imgFrameRight will be the img in the foreground with color blue for right and a transparency of 0 . 7 @return Return combined image with both images
public static BufferedImage combine(BufferedImage imgFrameLeft, BufferedImage imgFrameRight) {
        BufferedImage combined
                = new BufferedImage(imgFrameLeft.getWidth(), imgFrameLeft.getHeight(), BufferedImage.TYPE_INT_ARGB);
        Graphics g = combined.getGraphics();
        g.drawImage(imgFrameLeft, 0, 0, null);
        g.drawImage(transparent(imgFrameRight, 0.6D), 0, 0, null);
        return combined;
    }
public static BufferedImage combine ( BufferedImage imgFrameLeft , BufferedImage imgFrameRight ) { BufferedImage combined = new BufferedImage ( imgFrameLeft . getWidth ( ) , imgFrameLeft . getHeight ( ) , BufferedImage . TYPE_INT_ARGB ) ; Graphics g = combined . getGraphics ( ) ; g . drawImage ( imgFrameLeft , 0 , 0 , null ) ; g . drawImage ( transparent ( imgFrameRight , 0.6D ) , 0 , 0 , null ) ; return combined ; }
@param imgFrameLeft  will be the img in the background with color red for left
 @param imgFrameRight will be the img in the foreground with color blue for right and a transparency of 0.7
@param imgFrameLeft will be the img in the background with color red for left @param imgFrameRight will be the img in the foreground with color blue for right and a transparency of 0 . 7