Acknowledged

Call to drawBitmap2 causes exception on FR165 and FR165m

When calling drawBitmap2 on fr165 and fr165m, an Exception: Source must be native color format

occurs in the simulator, SDK 7.4.3.  The image is png format.  Specifying packingFormat as png or not specifying (default) gives the same result.  
I am trying to use transform and tintColor options.
Behavior on an actual device is unknown.
Parents Comment Children
  • Yes that appears to work.  But no manual palette was specified.  like this:

        <bitmap id="bz1" filename="bz1.png" packingFormat="png" automaticPalette="false"/>
    So what is going on there?

    On the FR255s I have the similar problem, but to get it to work on the FR255s I need to use:

        <bitmap id="bz1" filename="bz1.png" packingFormat="png" >
    I previously specified automaticPalette="false" with a manual palette, and it didn't work
  • I have just hit this too, and your suggestion worked.

    Something is wrong though since we should not hit a crash and an undocumented exception without this. But at least I have a solution.