use Pillow's Image.open