Simple testing (and demonstration) script

master
LEdoian 3 years ago
parent bcf5eeb3f3
commit b5f0744f7a

@ -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)
Loading…
Cancel
Save