10-20-2018 22:12
10-20-2018 22:12
Hey, I am trying to have a image set as background for my watchface.
Here is what i have tried:
<svg class="background">
<image id="image" href="test.jpg" width="100%" height="100%"/>
<text id="myLabel"/>
<text id="score"/>
</svg>Where test.jpg is in my resource folder:
m-C02NV13:yuvi vrajori$ tree ./resources/ ./resources/ ├── index.gui ├── players ├── styles.css ├── test.jpg └── widgets.gui
Upon trying to load this clockface onto simulator i see below in logs:
[10:42:08] App: Error 0 pjpeg_save_to_file returned Non-zero
Can anyone help me out here, please?
Best Answer10-22-2018 09:52
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.
10-22-2018 09:52
Your jpg might be in progressive format. It's best to use PNG, which will be converted to a format optimized for the hardware.
If you must use jpg, try saving the file with progressive.
Best Answer