I'm losing transparency after loading the png into memory..
This is how I'm loading image..
After loading into IBuffer, I'm using the same as BufferImageSource for applying filters..but i'm losing transparency.
using (var isoFile = IsolatedStorageFile.GetUserStoreForApplication())
using (var image = isoFile.OpenFile(FilePath, FileMode.Open, FileAccess.Read))
MemoryStream stream = new MemoryStream();
FgBuffer = stream.GetWindowsRuntimeBuffer();
ForegroundGesture.Input = new BufferImageSource(FgBuffer);
Is there any way to do it?