C# 图像解码器无法解码图像。也许图像被破坏了

C# 图像解码器无法解码图像。也许图像被破坏了,c#,wpf,C#,Wpf,崩溃错误,但未达到捕获“图像解码器无法解码图像。可能图像已损坏。” 代码: 动态图像列表 try { string path = images_dynamic[0]; this.Dispatcher.Invoke(DispatcherPriority.ApplicationIdle, (Action)(() => { BitmapImage bitimage = new BitmapImage(new Uri(path, UriKind.Absolute))

崩溃错误,但未达到捕获“图像解码器无法解码图像。可能图像已损坏。”

代码:

动态图像列表

try
{
    string path = images_dynamic[0];
    this.Dispatcher.Invoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
    {
    BitmapImage bitimage = new BitmapImage(new Uri(path, UriKind.Absolute));// fly exception
    p_dynamic_image.Source = bitimage;
    }));
}
catch { }
-这是文件

我需要那个能飞进去抓的东西