Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要显示来自生成 tiff 图像的网络服务器的图像。我想使用 silverlight 3 来显示这些图像。我想将 jpeg 流式传输到客户端。如果图像“活”在网络服务器以外的服务器上,这可能吗?
我认为 silverlight 不识别 tiff - 只有 JPG 和 PNG。我为了从 URL 动态加载图像,您必须在后面的代码中执行以下操作:
image.Source = new BitmapImage(new Uri("http://example.com/img.jpeg"));
“image”是 xaml 中 Image 对象的名称。