Reputation: 11
I need to display images from a network server that generates tiff images. I would like to use silverlight 3 to display these images. I would like to stream the jpeg to the client. Is this possible if the images "live" on a server other than the web server?
Upvotes: 1
Views: 768
Reputation: 6685
I think that silverlight doesn't recognize tiffs - only JPGs and PNGs. I order to load dynamically image from URL you have to do something like this in your code behind:
image.Source = new BitmapImage(new Uri("http://example.com/img.jpeg"));
"image" is the name of the Image object in xaml.
Upvotes: 1