Preserve image ratio of product
Square images do not work for every business. So we could keep the original aspect ratio. So when a specific size is requested for an image, we could resize up to this size but keeping the aspect ratio. Then we can add the width and height parameter which does the same as the size but only for the corresponding side.
Ref: https://discuss.tryton.org/t/why-cropping-images-on-product-image/6131