@ -0,0 +1,12 @@
orig_file = '/tmp/ceny.png'
new_file = '/tmp/new.png'
import lib
pic = lib.Picture.load(orig_file)
pic.show()
import nn
Interp = nn.Nearest()
pix = Interp.interpolate(pic, 200, 200)
pix.show()
pix.save(new_file)