Veit's Blog

us, sorted

6/26/2017

It is hard to be apart from you. Sometimes I'm whiny, sometimes I'm creative, sometimes I'm both at the same time.

# this is all we need to merge.
# when i look at the picture,
# it feels as though i touch you.

from scipy import misc

with open('you.png', 'rb') as you:
    you = misc.imread(you)
with open('me.png', 'rb') as me:
    me = misc.imread(me)
us = me + you
us.sort(1)
misc.imsave('us.png', us)
you, sorted.
me, sorted.
us, sorted.