获取iTextSharp 的image 报错

获取itextsharp类库的image对象的时候报错  outofmemory  .经过艰苦的测试发现jpeg类型是可行的的

 iTextSharp.text.Image je = iTextSharp.text.Image.GetInstance(Syste.Drawing.Image ,System.Drawing.Imaging.ImageFormat.Jpeg);

备注一下未来研究一下itextsharp的源码看看.

原文地址:https://www.cnblogs.com/sky266/p/3243168.html