Get supported image formats from BitmapImage
问题 How can I get a list of image formats supported by System.Windows.Media.Imaging.BitmapImage? I am writing a simple image processing tool in C# WPF. The BitmapImage class is one of the more useful bitmap classes as it is able to decode from a wide variety of formats. In particular, it is able to open NEF (Nikon's RAW format) on my computer. It is likely that BitmapImage can open a wide variety of RAW formats from other manufacturers, a function I am keen to make use of. As I don't know every