I'm writting simple app which in view onUpdate uses:
dc.drawBitmap2(dc.getWidth()/2, dc.getHeight()/2, svgImage, { });
Image is svg:
<svg height="100" width="100" xmlns="">http://www.w3.org/2000/svg" >
<rect width="100" height="100" fill="yellow" stroke="red" stroke-width="2" />
</svg>
var svgImage as BitmapResource = WatchUi.loadResource(Rez.Drawables.svgImage);
<bitmap id="svgImage" filename="images/image.svg" />
Error: Unhandled Exception Exception: Source must not use a color palette