How do I display a tiff image?
asp.net-mvc-4, c#, image-processing
Solution
Most browsers can't handle TIFF images as you've probably found, so you'll need to convert it to a PNG or JPEG. In your controller action, these are the basics.
var memoryStream = new System.IO.MemoryStream();
using (var image = System.Drawing.Image.FromFile("myfile.tif"))
image.Save(memoryStream, ImageFormat.Png);
return File(memoryStream, "image/png");
Problem
Im totally lost and i need some to guide me. I've seem many post but none explain how can display a tif image. Where can i find some toturial? I need from the begining if posible. Or if you can help me with would it be greate. Im just a newbie halding image. Im using mvc 4