Is there an easy way to get height & width of an image in a bucket?
Or at least a way to generate a thumbnail with getFilePreview keeping the right aspect ratio, instead of croping?
TL;DR
Developers want to know how to retrieve the original height and width of an image from a bucket. They also seek a method to generate a thumbnail with getFilePreview while maintaining the correct aspect ratio instead of cropping it.
Steven
14 Mar, 2024, 08:19
I thought the original aspect ratio is retained if you only supply height or width π§