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?
Best Answer06-30-2018 07:08
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-30-2018 07:08
Image resizing on the device isn't very performant. What effect are you trying to achieve?
Best Answer