Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does FitBit OS not support preserveAspectRatio?

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 Answer
0 Votes
1 REPLY 1

Image resizing on the device isn't very performant. What effect are you trying to achieve?

Best Answer
0 Votes