IQ dev: Please confirm intended color palette for images.

Former Member
Former Member
Just wanting to know the palettes that will be available to the devices supporting IQ. Same as those in devices.xml?
  • I think it would be reasonable to assume each device has its own palette entry for a reason and we will eventually see devices with different palettes.
  • Former Member
    Former Member over 10 years ago
    I agree. But I have chosen to get confirmation, rather than assume. That way I won't have to redraw any images/icons once palette is confirmed.
  • From the Connect IQ User Experience Guide...

    Different wearable products can have different color depths. The least number of colors a product will have is 16. The RGB values of the available colors on the 16 color products are as follows...

    // snipped

    Using these colors for your bitmaps will make your app the most portable.


    And from the Monkey C Programmers Guide...

    While each device has a unique palette the developer can specify a palette to use for an image.
  • Former Member
    Former Member over 10 years ago
    It goes on to say ...
    The resource compiler will map the colors that are defined in the developer’s palette to their closest match in the device palette and use only those colors.
    I don't care to let the compiler chose a "closest match". Conflicts could lead to loss of detail, or totally inappropriate color.
  • I can't figure out why we're arguing. I thought while each device has a unique palette would put this to bed. I suppose I'll wait this one out...
  • Former Member
    Former Member over 10 years ago
    If you are arguing then at least put forward some points that add up.

    You highlight there will be unique palettes, I don't know how to deduce the colors from that.
    You highlight there will be at least 16 colors, yet devices.xml only lists 14 colors for the 920.

    Why do you insist I should assume what the eventual palette will be, rather than just seeking a confirmation?
  • On the 920 you have 14 colors. Color 14 is reserved by the system, and color 15 is transparent. As the programmer's guide says, not every device will be like this. The palette of these colors is spelled out in the UX guide.

    -Alpha Monkey
  • Former Member
    Former Member over 10 years ago
    Thanks for the confirmation. I hadn't read the UX guide before, missed that it was a new doc.