Edward
Edward

Reputation: 11

Using Silverlight to display images from a network server

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

Answers (1)

PanJanek
PanJanek

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

Related Questions