9 lines
251 B
Python
9 lines
251 B
Python
from PIL import Image
|
|
from context_adaptive_interpolator import contextAdaptiveInterpolator
|
|
|
|
MODE = 'L'
|
|
|
|
IImage = Image.open('9f04e2005fddb9d5512e2f42a3b826b019755717.jpg').convert(MODE)
|
|
I = IImage.load()
|
|
|
|
contextAdaptiveInterpolator(I, IImage).show() |