WinJS, display image from a byte array?

cymbaltahlp

New Member
I'm looking for a way to display a JPEG image stored in a byte array. This is a Windows 8 Store App built in Javascript. The byte array is returned from a C# WinRT component. Its type in C# is \[code\]byte[]\[/code\].Basically, what I want is to get an object so that I can call:\[code\]URL.createObjectURL(bytearray, {oneTimeOnly: true});\[/code\]upon. Currently this generates a runtime error because the array interface is not supported.Thanks in advance.
 
Back
Top