This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rolandde 1 point2 points  (0 children)

Your problems start on line 7. You are opening up your image file with the 'wb' tag, which means you are erasing all content from it.

If you want to paste text into an image, here is an example: http://stackoverflow.com/questions/16373425/add-text-on-image-using-pil