Closed AndrewBennet closed 4 years ago
Fixes https://github.com/SvenTiigi/WhatsNewKit/issues/41
This adjusts the image resizing code. As before, it produces a square image of the specified size. Instead of stretching the image to fit the square, it now fits the image within the target size, preserving its aspect ratio:
Hey @AndrewBennet,
Good job 👍
Your PR has been merged into the develop branch and the fix will be available with the next release of WhatsNewKit.
Fixes https://github.com/SvenTiigi/WhatsNewKit/issues/41
This adjusts the image resizing code. As before, it produces a square image of the specified size. Instead of stretching the image to fit the square, it now fits the image within the target size, preserving its aspect ratio: