Update: I've determined that the problem lies with this line of code:
image.Source = Await Wbm.FromStream(imagestream)
Reading from the stream does not work. I've tried closing and reopening imagestream before reading, but that does not work either.
I tried converting the imagestream directly into a byte array and that at least produced 'something'. Which I could successfully save and the load from my database and the exact same 'thing' would reappear upon loading. Unfortunately, the image does not resemble
in any way the actual image being loaded.
If someone can point me to a way to convert the imagestream into a proper byte array for WriteableBitmapEx I'd be home free. Otherwise if someone can help me figure out why reading from the stream isn't working that would do the trick too.
Thanks in advance for any help!