upscaling image to minimum dimensions
I would like to proportionally scale up an image if the image size falls below size requirements.
so if the min requirements are 1024x1024,
so, if the height < 1024, but the width > 1024, the image should be scaled up proportionally so that the height is 1024, and the width is greater than original height.
the same goes for if the width < 1024 and the height is > 1024, the width should be scaled up to 1024, and the height should be scaled up proportionally
Post is closed for comments.