#!/usr/bin/python

import Image
import ImageDraw
import argparse

parse = argparse.ArgumentParser()
parse.add_argument("width", type=int, nargs="?", help="test image width", default=1000)
parse.add_argument("height", type=int, nargs="?", help="test image height", default=1000)
args = parse.parse_args()
name = "out.png"

print "Generating file %s dimensions=%dx%d\n" % (name, args.width, args.height)

img = Image.new("RGBA", (args.width, args.height), "blue")
draw = ImageDraw.Draw(img)

img.save(name)
