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

New Post: Library doesn't work properly

$
0
0
Hi everyone,

I'm Italian, so sorry for my bad English.

I'm trying to use WriteableBitmapEx: I added it to my WPF project using NuGet (and downloading it and adding the reference to the project too), but it doesn't work.
First of all, I followed the tutorial on the homepage of the project (the sample of code), but I can't found the overload which requires only two arguments (writeableBmp = new WriteableBitmap(0, 0).FromResource("Data/flower2.png");) because Visual Studio shows me only two overloads: one that requires a BitmapElement, and the other that requires the width, the height, the DPIX, the DpiY, the PixelFormat and the BitmapPalette.

So I tried to use the second one adding ".FromResource("Data/flower2.png");", but it still not work: it shows me execution errors (one with Just My Code, when I disabled JMC, it shows me a weird error).

The screenshots of the two errors are there:

http://snap.ashampoo.com/ZcKXhOGq
http://snap.ashampoo.com/o920B8xv

Could you help me? I'm a bit confused...

Oh, I've also read an article on an Italian magazine that shows how to make something like Instagram using WriteableBitmapEx (in Windows Phone 8). I'm still not able to work following it because of the overloads.

Thanks a lot.

Jymmy097

Viewing all articles
Browse latest Browse all 360

Trending Articles



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