use pillow instead of PIL; it's much newer