rio icon indicating copy to clipboard operation
rio copied to clipboard

Better Image Sizing

Open mad-moo opened this issue 8 months ago • 0 comments

When displaying images, it's often hard to size them correctly. If not setting both width and height, the size of the image collapses, not taking up enough space. But when specifying both of them, one needs to know the aspect ratio of the image lest the result take up too much space, resulting in large areas of empty space.

It's not really clear how to address this. One solution could be to specify the diagonal instead, and have the image calculate the width & height based on the image's aspect ratio.

mad-moo avatar Jun 16 '24 09:06 mad-moo