06-13-2018 22:59
06-13-2018 22:59
I'm trying to scale an image in my UI so that it scales without distorting. Typically in SVG code that's done with preserveAspectRatio, but FitBit OS doesn't recognise that attribute, much less does anything with scaling. Here's the code I'm trying:
<image x="0" y="0" preserveAspectRatio="xMidYMid slice" width="100%" height="140" href="buzz.png" load="sync" />
Is there another way to change how an image is scaled on the device?
06-30-2018 07:08
06-30-2018 07:08
Image resizing on the device isn't very performant. What effect are you trying to achieve?