It should be pretty simple since GDI+ supports TIF files (although I'm nto
sure if it can do all the varying format types).
It should be as easy as reading a TIF file from a BMP file and writing it
back out using hte Response.OutputStream.
private void Page_Load(object sender, System.EventArgs e)
{
string YourImageTifFile = @"\temp\images\MyTif.Tif";
Bitmap bmp = new Bitmap(YourImageTifFile);
Response.ContentType = "image/jpeg";
bmp.Save(Response.OutputStream,System.Drawing.Imag ing.ImageFormat.Jpeg);
bmp.Dispose();
return;
}
--
Rick Strahl
West Wind Technologies
http://www.west-wind.com/ http://www.west-wind.com/weblog/ http://www.west-wind.com/wwThreads/
----------------------------------
Making waves on the Web
"Jon Delano" <jd*****@hotmail.com> wrote in message
news:tUycd.407492$Fg5.236380@attbi_s53...
Hello
I'm looking for a simple TIFF viewer for a vb.net web application.
The TIFFs are single page and I just need to display them and that is it
.... nothing fancy at all.
Anyone have a suggestion as to a control I can use.
Thanks
Jon