I'm losing transparency after loading the png into memory..
This is how I'm loading image..

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