createBufferedBitmap doesn't work correctly since SDK 4.2.1
createBufferedBitmap always draws a black background in the simulator for all Fenix 7 series devices and e.g. FR 955 when the transparent color is used.
Buffered Bitmaps with palette not more correct renderd on Fenix7 series.
Also bitmaps with an defined color palette not more correct rendered.
My workaround for this issue is, remove the palette entry and work with full palette. With the SDK4 devices this resources store outside the watchface and so the memory consumption is without palette a little bit smaller as with
- only the simulator for the function call createBufferedBitmap is affected. When using the same options for "old" version of buffered bitmaps it's working. (check code snippet at the bottom)
- The color palette is not the same one
- transparent color is not working, always black background of the bitmap
That meas e.g. the simulator for the F6X is working fine but the F7X doesn't render the same bitmap as expected.
function bufferedBitmapFactory(options) {
return Gfx has :createBufferedBitmap ? Gfx.createBufferedBitmap(options).get() : new Gfx.BufferedBitmap(options);
}