#!/usr/bin/python

import Image
import ImageDraw
import argparse

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

print "Generating file %s width=%d\n", name, args.width

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

img.save(name)
