1
votes

I am creating a Windows Phone 8.1 (Windows Runtime) application and need to use some classes from the System.Windows.Media.Imaging namespace (more precisely the BitmapDecoder class), but Visual Studio 2013 says "The type or namespace 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)".

Any suggestions?

1
You can't do that. Use equivalent APIs from the Windows Runtime.SLaks
Thank you! What's the equivalent for the System.Windows.Media.Imaging namespace?Mika
@Mika Have you tried to google that?Eldar Dordzhiev

1 Answers

0
votes

Did you try Windows.Graphics.Imaging.BitmapDecoder? You don't mention exactly which features of BitmapDecoder you need, so it's hard to say if it will work for you.