I have .png files on which I want to resize to square proportions with exact dimensions, width 400px x height 400px. The problem occurs when the width of the input image is greater than its height. The image I receive has actually set dimensions of 400px x 400px but it is adjusted according to the height and the longer sides are cut off.
I would like that when the image has other proportions (larger width than height) it will be fitted to a 400px x 400px file and the graphics will be scaled accordingly.
As you can see the file has a dimension of 400px by 400px but the width of the graphics is larger so the image is cut on the sides. How to set the configuration so that the file size remains and the graphics (if the proportions are different) are adjusted?
Hi!
I have .png files on which I want to resize to square proportions with exact dimensions, width 400px x height 400px. The problem occurs when the width of the input image is greater than its height. The image I receive has actually set dimensions of 400px x 400px but it is adjusted according to the height and the longer sides are cut off.
I would like that when the image has other proportions (larger width than height) it will be fitted to a 400px x 400px file and the graphics will be scaled accordingly.
My configuration:
As you can see the file has a dimension of 400px by 400px but the width of the graphics is larger so the image is cut on the sides. How to set the configuration so that the file size remains and the graphics (if the proportions are different) are adjusted?
Thanks!