Replace more 'Image' imports with Pillow-compatible blocks