I need to load tiff file in a picture box and I use the following code to do this:
picBox.Image = Image.FromFile(files[current].FullName);
this code works great on my computer, but when I deploy it on another PC, it throws OutOfMemoryException
.
tiff files are generated by a Fax service.
I want to know how to load this file in an exception safe manner.