我从cete DynamicPdf得到了这个错误,任何帮助都将不胜感激,我已经在他们的论坛上发布了这个错误,但没有得到回应。在将多个文档合并为一个文档后,当我调用draw方法来创建Pdf时,就会发生这种情况。有没有解决的办法?
Stacktrace如下:
回溯(最近一次调用):文件“(未知)”,第235行,在ceTe.DynamicPDF.Imaging.TiffImageData.a()文件“(未知)”,第19行,在ceTe.DynamicPDF.Imaging.TiffImageData.c()文件“(未知)”,行未知,在ceTe.DynamicPDF.Imaging.TiffImageData.Draw(ceTe.DynamicPDF.IO.OperatorWriter编写器,System.Single pdfX,System.Single pdfY,System.Single width,System.Single height)文件“(未知)”,617行,在ceTe.DynamicPDF.PageElements.Image.DrawRotated(ceTe.DynamicPDF.IO.PageWriter写入器)文件"(unknown)",行103,在ceTe.DynamicPDF.PageElements.RotatingPageElement.Draw(ceTe.DynamicPDF.IO.PageWriter写入器)文件"(unknown)",行unknown,在ceTe.DynamicPDF.PageElements.Group.Draw(ceTe.DynamicPDF.IO.PageWriter写入器)文件"(unknown)",行14,在ceTe.DynamicPDF.Page.b(ceTe.DynamicPDF.IO.PageWriter A_0)文件"(unknown)",行136,在ceTe.DynamicPDF.Page.fd(ceTe.DynamicPDF.IO.DocumentWriter A_0,System.Int32 A_1,System.Int32 A_2)文件"(unknown)",第178行,在ceTe.DynamicPDF.Page.a(ceTe.DynamicPDF.IO.DocumentWriter A_0,System.Int32 A_1,System.Int32 A_2,System.Int32 A_3)文件"(unknown)",第166行,在zz93.b1.f()文件"(unknown)",第419行,在zz93.b1.Draw()文件"(unknown)",第1行,在ceTe.DynamicPDF.Document.Draw(System.IO.Stream流中)文件"(unknown)",第15行,在ceTe.DynamicPDF.Document.Draw()文件中,第1505行,在PubManager.PdfManager.Printing+d__3.MoveNext()文件“(Unknown)”中,第12行,在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()文件“(Unknown)”中,第40行,在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task任务中)文件“C:\Users\Simon\Source\Workspaces\PubManager\Controllers\PageLayoutController.cs”,行598,在PubManager.Controllers.PageLayoutController+d__24.MoveNext()文件“(Unknown)”中,第12行,在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()文件中"(unknown)",第40行,在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task任务中)文件"(unknown)",行unknown,在System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(System.IAsyncResult asyncResult)文件"( unknown )",第unknown行,在System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(System.IAsyncResult asyncResult)文件"(unknown)",第20行,在System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.b__3d()文件"(unknown)",第134行,在System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46.b__3f()文件"(unknown)",第134行,在System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46.b__3f()文件"(unknown)",行unknown,在System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(System.IAsyncResult asyncResult)文件"(unknown)",行unknown,在System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21+<>c__DisplayClass2b.b__1c()文件"(unknown)",行unknown,在System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21.b__1e(System.IAsyncResult TIFF中)不支持ceTe.DynamicPDF.Imaging.ImageParsingException: asyncResult压缩值8(平移/反转)。
发布于 2021-04-26 22:50:28
看起来不支持压缩值7以上的TIFF图片。看看这个帖子:https://www.dynamicpdf.com/forums/core-suite-for-net-v9/tiff-compression-value-7-extended-jpeg-not-supported
https://stackoverflow.com/questions/67268426
复制相似问题