How to find reason for Generic GDI+ error when saving an image?

前端 未结 10 1579
心在旅途
心在旅途 2020-11-27 19:03

Having a code that works for ages when loading and storing images, I discovered that I have one single image that breaks this code:

const string i1Pa         


        
10条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 19:24

    Solution is here, you must dispose image object to release the memory on the server. Try use using statement. Make sure destination directory on server exists too.

提交回复
热议问题