How TO CONVERT TIFF TO BMP OR JEPG asp.net
IE dont support tiff files. So what you can do you convert tiff file into jpeg or bmp and display.
Read a tiff file and save it into bmp or jpeg file and dipslay.
Stream _stream = new FileStream("C:\\abc.tiff"path, System.IO.FileMode.Open);
MemoryStream storeStream = new MemoryStream();
storeStream.SetLength(_stream.Length);
_stream.Read(storeStream.GetBuffer(), 0, (int)_stream.Length);
storeStream.Flush();
_stream.Close();
Response.ContentType = "image/bmp";
storeStream.WriteTo(Response.OutputStream);
SaveMemoryStream(storeStream, "C:\\text1" + ".bmp");
storeStream.Close();
Response.End();