I'd sure like a function that looks like ImageOps.pad
https://pillow.readthedocs.io/en/stable/_modules/PIL/ImageOps.html#pad
but just returns the image after resizing without adding the padding.
What would be a good name for such a function? Where would it best be placed?
ImageOps.fit is already taken.
EDIT: Looking at #3364 contain seems like a decent candidate. Seems a refactor would be required. @radarhere thoughts?