scaledMaxDim
ImageResizer
square
ImageResizer