c# - Out of memory exception when loading tif file in a picture box -


i need load tiff file in picture box , use following code this:

picbox.image = image.fromfile(files[current].fullname); 

this code works great on computer, when deploy on pc, throws outofmemoryexception.

tiff files generated fax service.

i want know how load file in exception safe manner.

i have same problem , confused solving. save time 3 days.

but test code , found image lost transparency @ end.

i need png image , edit code , problem solved.

thanx


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -