for i in range(0, 500, 100):
    for j in range(0, 500, 100):
        im = Image.eval(im, lambda x: x + (i + j) / 30)
new_im.paste(im, (i, j))
new_im.show()
How do you merge images into a canvas using PIL/Pillow?