Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

Closed Unassigned: Issue with .FromContent(string) [20158]

$
0
0
Why does this not work?

```
WriteableBitmap temps = BitmapFactory.New(100, 20).FromContent("/Assets/colorscale.png");
```

Get this error:

![Image](https://pbs.twimg.com/media/BS8PfBmCIAAaCnT.png)
Comments: Make sure to have the asset set as Build Action Content. Then check that path / uri you pass into the method. It does not look like the right format.
Also, this is not an issue. Next time use the Discussions forum, not the Issue tracker here.

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>