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

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -