"Hug" Scale Type for Image Layouts
You can swap out images at runtime, (https://x.com/rive_app/status/1875270155414204861) which is great! However this is only really feasible if the swapped images are the same size. Otherwise the swapped image can end up being too big or too small.
This could theorically be solved by using a nested artboard in Leaf mode inside a layout. This allows us to scale the contents (in this case an image) according to the size of the layout. This also works great until the image is replaced by one with a different resolution.
I think this could be solved by allowing the "Hug" scale type for Image Layouts. That way the layout adapts to whatever image is inside it based on the width and height. This in turn allows for the Artboard to use "Hug" mode so that you can have an artboard that is always the size of the image inside that artboard.
The end result would be that we would be able to swap out images in runtime which will always scale desirably, regardless of it's resolution!