Color transparent = new Color( 0x00ffffff, true ); BufferedImage bufferedImage = new BufferedImage ( width, height, BufferedImage.TYPE_4BYTE_ABGR_PRE );