Read image from data directory #75
-
Is it possible to use the IMG widget with images read by the file system (hmFS)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I also wanted to know |
Beta Was this translation helpful? Give feedback.
-
You can write images to the "assets" folder and then display the images via IMG widget. I used such an approach to transfer images via side app |
Beta Was this translation helpful? Give feedback.
You can write images to the "assets" folder and then display the images via IMG widget. I used such an approach to transfer images via side app
here is code i used to write the image
please note the image should be written with a modified TGA format https://github.com/bigdigital/zeppos_watchdrip_app/blob/master/shared/tga-img.js