#! /usr/bin/env python

from PIL import Image
import sys

i1 = Image.open(sys.argv[1])
i1 = i1.resize((1024, 768), Image.ANTIALIAS)
i2 = Image.open(sys.argv[2])
i2 = i2.resize((1280, 1024), Image.ANTIALIAS)

o = Image.new(i1.mode, (1280, 1024+768))
o.paste(i1, (0,0))
o.paste(i2, (0,768))
o.save(sys.argv[3])
