Decoding the Code

We aren't just developing Software. We're developing the Whole World.

“Image format is unrecognized” Bug, When Setting WPF Window Icon

leave a comment »

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…

Written by Muhammad Saeed

July 1, 2009 at 10:53 pm

Posted in Bugs, WPF/XAML

Tagged with , , ,

Leave a Reply