from PIL import Image, ImageFilter

im = Image.open("stella.jpg") # replace with your own image!
print(im.size)
im = im.crop([0, 0, 3000, 3000])
small = im.resize([1000, 1000])
mosaic = Image.new("RGB", [3000, 3000])

for row in range(3):
    for col in range(3):
        left = col * 1000
        top = row * 1000
        if (row + col) % 2 == 0:
            mosaic.paste(small, [left, top])
        else:
            mosaic.paste(small.filter(ImageFilter.CONTOUR), [left, top])
        small = small.rotate(90)
mosaic.show()

mosaic.save("stella-mosaic.jpg")

# MOSAIC
# resize
# put images together in a grid
# cool effects on images
# rotate
# add cool filters