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
Post a Comment