“The image format is unrecognized” depending on monitor

后端 未结 3 1636
暖寄归人
暖寄归人 2021-01-04 05:51

We have a C# WPF project (.NET 4.0, Visual Studio 2010). It has been tested on both Windows XP and Windows 7 and seems to work fine, but now I have received reports from two

3条回答
  •  滥情空心
    2021-01-04 06:06

    I've had a bit of fun with this problem this morning. It turned out that the error was occurring only on XP machines where the colour settings were set to 16 bit, and when I changed it to 32-bit the problem magically disappeared.

    This goes for XP (including Embedded) SP3.

提交回复
热议问题