load an html5 canvas into a pil image with django,im = Image.open(tempimg)