This reverts commit f73439f1e9. The imageio project has caught up with the changes in pillow 10.1.0.
f73439f1e9