How do I copy two buffered images, side by side, into one blank buffered image?
I have two jigsaw pieces shaped as rectangles. I want to connect those pieces together. So for example I need to connect "piece A" to the top, left, right or bottom side of "piece B". How do I implement that?
Create a new BufferedImage of the size that fits for both images. Next get the Graphics for this image (createGraphics or getGraphics) and use the drawImage(image, x, y, null) method of the Graphics with 0,0 pos for one image and some other offset for second image.