Skip to content

Instantly share code, notes, and snippets.

Create new Conda Env
conda create --name <env_name> python=3.8
@markrofail
markrofail / MagentaInpainting.py
Last active August 24, 2018 10:40
Magenta's entry in the Patch the Image popularity contest on StackExchange
#***************************************************************************************
# Title: Inpainting Algorithm
# Author: Magenta
# Date: 02.02.2016
# Availability: https://codegolf.stackexchange.com/a/70753/82433
# License: creative commons license
#
#********************************************************************************
from PIL import Image, ImageFilter, ImageDraw