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

Fitbit simulator showing grayscale png as transparent

ANSWERED

I'm building a Solitaire app for my Fitbit Ionic, and I've uploaded 52 png images to represent each of the cards. Below is the actual png file:

 

However, when I compile the app and run it in Fitbit OS Simulator (Ionic watch), it shows up as transparent, with 'black' being mapped to transparent and 'white' being mapped to black:

 

Below is how it appears in Fitbit Studio:

 

 

Do I need to convert the png files to something else? They've been converted through imagemagick from a larger card, so if I can just add an argument that would be the best solution.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Greyscale images have a special behaviour defined that lets you use them as masks. You can set the fill colour via the fill property. In this instance, you probably want to use a colour PNG to avoid this behaviour.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Greyscale images have a special behaviour defined that lets you use them as masks. You can set the fill colour via the fill property. In this instance, you probably want to use a colour PNG to avoid this behaviour.

Best Answer
0 Votes