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

New Post: GetPixel throws an AccessViolationException

$
0
0
It's simply not loaded at the time you want to access the pixels. Just check the PixelWidth and Height properties.
You should use the WBX methods to load your stuff:
Uri imageUri = new Uri(BaseUri, "///Assets/Plan_cathedrale_Amiens.png");
image = await BitmapFactory.New(1, 1).FromContent(imageUri);
  • Rene

Viewing all articles
Browse latest Browse all 360

Trending Articles



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