removed pil dependency - will use pillow