TIFF Compression value not supported error

TIFF Compression value not supported error

Forum member · Apr 26, 2021
I have this weird error when trying to save a pdf. Any ideas on how to get around this? Stack Trace is here: Traceback (most recent call last): File "(unknown)", line 235, in ceTe.DynamicPDF.Imaging.TiffImageData.a() File "(unknown)", line 19, in ceTe.DynamicPDF.Imaging.TiffImageData.c() File "(unknown)", line unknown, in ceTe.DynamicPDF.Imaging.TiffImageData.Draw(ceTe.DynamicPDF.IO.OperatorWriter writer, System.Single pdfX, System.Single pdfY, System.Single width, System.Single height) File "(unknown)", line 617, in ceTe.DynamicPDF.PageElements.Image.DrawRotated(ceTe.DynamicPDF.IO.PageWriter writer) File "(unknown)", line 103, in ceTe.DynamicPDF.PageElements.RotatingPageElement.Draw(ceTe.DynamicPDF.IO.PageWriter writer) File "(unknown)", line unknown, in ceTe.DynamicPDF.PageElements.Group.Draw(ceTe.DynamicPDF.IO.PageWriter writer) File "(unknown)", line 14, in ceTe.DynamicPDF.Page.b(ceTe.DynamicPDF.IO.PageWriter A_0) File "(unknown)", line 136, in ceTe.DynamicPDF.Page.fd(ceTe.DynamicPDF.IO.DocumentWriter A_0, System.Int32 A_1, System.Int32 A_2) File "(unknown)", line 178, in ceTe.DynamicPDF.Page.a(ceTe.DynamicPDF.IO.DocumentWriter A_0, System.Int32 A_1, System.Int32 A_2, System.Int32 A_3) File "(unknown)", line 166, in zz93.b1.f() File "(unknown)", line 419, in zz93.b1.Draw() File "(unknown)", line 1, in ceTe.DynamicPDF.Document.Draw(System.IO.Stream stream) File "(unknown)", line 15, in ceTe.DynamicPDF.Document.Draw() File "C:\Users\Simon\Source\Workspaces\PubManager\PubManager\PdfManager\Printing.cs", line 1505, in PubManager.PdfManager.Printing+<Print>d__3.MoveNext() File "(unknown)", line 12, in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() File "(unknown)", line 40, in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) File "C:\Users\Simon\Source\Workspaces\PubManager\PubManager\PubManager\Controllers\PageLayoutController.cs", line 598, in PubManager.Controllers.PageLayoutController+<RemotePrintPage>d__24.MoveNext() File "(unknown)", line 12, in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() File "(unknown)", line 40, in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) File "(unknown)", line unknown, in System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(System.IAsyncResult asyncResult) File "(unknown)", line unknown, in System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(System.IAsyncResult asyncResult) File "(unknown)", line unknown, in System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(System.IAsyncResult asyncResult) File "(unknown)", line 20, in System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() File "(unknown)", line 134, in System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() File "(unknown)", line 134, in System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() File "(unknown)", line unknown, in System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(System.IAsyncResult asyncResult) File "(unknown)", line unknown, in System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21+<>c__DisplayClass2b.<BeginInvokeAction>b__1c() File "(unknown)", line unknown, in System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21.<BeginInvokeAction>b__1e(System.IAsyncResult asyncResult) ceTe.DynamicPDF.Imaging.ImageParsingException: TIFF Compression value 8 (Flate/Deflate) is not supported.

Re: TIFF Compression value not supported error

Support · Apr 26, 2021
Hello, The error message indicates that you are using an image with TIFF Compression value 8 (Flate/Deflate). Currently, DynamicPDF Core Suite for .NET product does not support these types of images. We will add this to our wish list and may include this in a future version of DynamicPDF Core Suite for .NET. Thanks, ceTe Software Support Team