user155061
Member since Apr 2023 • Last active Apr 2023Most recent activity
-
Icon: timer.img⇠
In the menu, you'd have noticed that there was no icon shown.
To fix this, let's find a 48px icon. Unless you want to create one, we'd suggest using icons8.com as they're free for Open Source projects (we're also paid up just in case).
Go to icons8.com
Type Timer into the search box
On the left, click Color - this is the style we often use in Bangle.js
Choose Sand Timer or whatever you feel like
Click Download and download the 48px image
Now it's time to convert the image for use in Espruino and upload it. You can use http://www.espruino.com/Image+Converter for this, but the tools are now built into the IDE.
Click the Storage icon above Upload:
Choose Upload a File
Select the image file you downloaded
The IDE will detect it is an image and offer you some options for conversion
Name the icon timer.img
Ensure Convert for Espruino and Transparency are checked
Choose 4 bit Mac Palette and check the Preview. If the colours aren't good enough, try 8 bit Web Palette instead.
Now click Ok to uploadI am trying to follow this tutorial but I don't see a way to save or generate any icon after selecting the settings. If I right click on the image generated and click save, it saves both of the images side by side as a png. The tutorial says it should be an .img file. How do I resolve this?
That does help! thank you so much!!