if (((width > height) && this.isAutoComposition()) || this.isCompositionTopToBottom()) {
                    image = PNGImage.createImage(width, height * 3);

                    imageA.getImage().bitblt(image.getImage(), 0, 0, imageA.getWidth(), imageA.getHeight(), 0, 0);
                    imageOutput.getImage().bitblt(image.getImage(), 0, 0, imageOutput.getWidth(), imageOutput.getHeight(), 0, height);