PIL method - still in progress
template as png, for use with PIL