I am seeing the following error using the SaveAsTiff() method on a PdfConverter object:
Aspose.Pdf.Kit.PdfKitException: Curent operation
produces an image with size that is not suppoted by .NET. Please decrease the
resolution of the result image.
The error is intermittent, and occurs on PDFs that are normally successfully converted to TIFF. In my application I’ve seen the same document throw this exception once, and then be successful on the next try. Additionally, this application was running for weeks before this error began to appear.
The C# source that is throwing the exception:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:“Times New Roman”;
var targetTiffSettings = new TiffSettings(CompressionType.CCITT3);
targetTiffSettings.ColorDepth = ColorDepth.Format1bpp;
targetTiffSettings.SkipBlankPages = false;
converter.SaveAsTIFF(targetTIFFStream, (int)resolution.XResolution, (int)resolution.YResolution, targetTiffSettings);
Any ideas on what could be causing this exception?