“Image format is unrecognized” Bug, When Setting WPF Window Icon
Fix: http://torque.gig8.com/2009/01/image_format_is_unrecognized_w.html
Vista allows embedding 256×256 png images inside of .ico files. This can be generated, for example, by an application such as IcoFX. Unfortunately, at least as of .NET 3.0, the WPF Window Icon cannot accept this. The problem does not lie in the IconBitmapDecoder, but appears to lie in the Window code…