Python3 Pillow snippets