感谢您的查看和帮助!
1.业务:PDF转JPG图片,然后进行OCR识别,服务器返回双层PDF文件。
2.当我使用Aspose.pdf.dll 22.11.0.jpeg图片,OCR返回的双层PDF是正常的,可以正常打开。
3.当我使用Aspose.pdf via Drawing.dll 25.4.0.jpeg图片,OCR返回的双层PDF是错误的,文件损坏。
当我对比:Aspose.pdf.dll 22.11.0.jpe…...default) { var imagePaths = new List(); // 确保输出目录存在 Directory...// 初始化许可证(实际项目中应从安全位置加载) // new Aspose.Pdf.License().SetLicense("Aspose...