【发布时间】:2012-12-10 08:07:50
【问题描述】:
我正在尝试在 Windows Phone 7 应用程序中加载 BMP 图像,但扩展名是。 bmp 图像没有出现。但是,该代码适用于 .jpg、.png 和 .gif。 我正在使用以下代码 sn-p:
Uri uri = new Uri("Images/test.bmp", UriKind.Relative);
ImageSource img = new System.Windows.Media.Imaging.BitmapImage(uri);
imageView.Source = img;
谢谢
【问题讨论】:
标签: windows-phone-7