03-20-2020 13:22
03-20-2020 13:22
I am thinking about coding like this:
<svg id="example1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image x="0" y="0" width="5" height="5" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="/>
</svg>
I see nothing in the documentation about using xlink:href. Is there any other way of loading and displaying a base64 image?
Answered! Go to the Best Answer.
03-20-2020 13:29
03-20-2020 13:29
It's possible to display images that are stored in settings, where they're stored in base64 I think (based on ImagePicker documentation). See if that leads you anywhere. I did crack it once, but I forget in which project I did it!
In general, it's dangerous to assume that the Fitbit SDK is the same as web or other standards. It's a customised subset.
03-20-2020 13:29
03-20-2020 13:29
It's possible to display images that are stored in settings, where they're stored in base64 I think (based on ImagePicker documentation). See if that leads you anywhere. I did crack it once, but I forget in which project I did it!
In general, it's dangerous to assume that the Fitbit SDK is the same as web or other standards. It's a customised subset.