blank_image.paste(image64, (0, 0))
blank_image.paste(fluid128, (400, 0))
blank_image.paste(fluid512, (0, 300))
blank_image.paste(fluid1024, (400, 300))
blank_image.save(out)
Python Image Library: How to combine 4 images into a 2 x 2 grid?