{"id":1528,"date":"2012-02-05T17:36:56","date_gmt":"2012-02-05T23:36:56","guid":{"rendered":"http:\/\/www.wiredprairie.us\/blog\/?p=1528"},"modified":"2012-02-05T17:36:56","modified_gmt":"2012-02-05T23:36:56","slug":"wpf-system-windows-baml2006-typeconvertermarkupextension-the-image-format-is-unrecognized","status":"publish","type":"post","link":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1528","title":{"rendered":"WPF & System.Windows.Baml2006.TypeConverterMarkupExtension "The image format is unrecognized""},"content":{"rendered":"

\"SNAGHTML4534e6a2\"If you recently added an icon to your WPF project (any .NET version, including .NET 3.5, and .NET 4.0) and it has support for an alpha channel (often referred to as the Vista icon format), stop<\/strong>. Why? Your WPF application won\u2019t run on the latest service pack of XP as it\u2019s not capable of decoding the format unfortunately. It\u2019s a very frustrating error and a stupid "feature that Microsoft overlooked. I\u2019ve hit this a few times unfortunately. <\/p>\n

To fix, remove all of the alpha channel images from the ICO file and recompile.<\/p>\n","protected":false},"excerpt":{"rendered":"

If you recently added an icon to your WPF project (any .NET version, including .NET 3.5, and .NET 4.0) and it has support for an alpha channel (often referred to as the Vista icon format), stop. Why? Your WPF application won\u2019t run on the latest service pack of XP as it\u2019s not capable of decoding […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[55,16],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd5QIe-oE","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":288,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/288","url_meta":{"origin":1528,"position":0},"title":"WPF and Powershell Series — I don’t get it.","date":"May 24, 2008","format":false,"excerpt":"I don't get it. Maybe it will become clear as the series progresses, but the idea of a powershell cmdlets, etc. powering a WPF front end doesn't make sense to me. I thought the whole idea idea of Powershell was that it was a shell plaform -- an advanced command\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1524,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1524","url_meta":{"origin":1528,"position":1},"title":"Alternative to ApplicationSettings in .NET","date":"February 1, 2012","format":false,"excerpt":"After dealing with lost settings, an unclear upgrade path, and my own confusion surrounding the magic of Settings in a .NET client application, I decided to build my own. You\u2019re probably familiar with this UI in Visual Studio. It hasn\u2019t changed much since it was first created: A list of\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2012\/02\/image.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":172,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/172","url_meta":{"origin":1528,"position":2},"title":"Silverlight — it ain’t your papa’s WPF","date":"May 1, 2008","format":false,"excerpt":"John Gossman, architect of the WPF team (desktop and subset taht supplies UI framework for Silverlight), discusses a few of the pain points developers and designers are facing today with WPF to Silverlight portability. From his post: The above example is a bit of a special case, and I don't\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":891,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/891","url_meta":{"origin":1528,"position":3},"title":"Resource Intensive WPF Progress Bar (animation)","date":"January 25, 2010","format":false,"excerpt":"I\u2019m using a progress bar in a small WPF application I\u2019m working on and noticed that the Private Working Set for my application seemed higher than I expected. My application, once simplified down to it\u2019s most basic element, consisted of: Window, Grid, ProgressBar On my Windows 7 x64 machine, running\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1701,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1701","url_meta":{"origin":1528,"position":4},"title":"Windows 8 WinRT\/Metro Missing UpdateSourceTrigger","date":"August 5, 2012","format":false,"excerpt":"If you\u2019ve done WPF or Silverlight programming, you may have found an occasion where using the Binding property UpdateSourceTrigger set to PropertyChanged was extremely useful. (I know I have!) It may have looked something like this: The key feature was the live updating of the\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":273,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/273","url_meta":{"origin":1528,"position":5},"title":"Flash 10 — should make Flex (and AIR) even better …","date":"May 15, 2008","format":false,"excerpt":"The battle for the RIA platform continues with Adobe's pre-release of the next version of Flash 10, code named Astro (details here). If you're familiar with WPF -- the Flash player is starting to have a near feature parity with WPF. Oh, I know, I know, I'm sure there are\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2008\/05\/image17.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1528"}],"collection":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/comments?post=1528"}],"version-history":[{"count":1,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1528\/revisions"}],"predecessor-version":[{"id":1529,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1528\/revisions\/1529"}],"wp:attachment":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/media?parent=1528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/categories?post=1528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/tags?post=1528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}