with the pdf attached to this post I receive this error:
System.NullReferenceException: Riferimento a un oggetto non impostato su un’istanza di oggetto.
in Aspose.Pdf.PageCollection…ctor(Document )
in Aspose.Pdf.Document.(String , String )
in Aspose.Pdf.Document…ctor(String filename)
with this code:
Aspose.Pdf.Document oDoc = new Aspose.Pdf.Document(sFile);
Aspose.Pdf.Devices.Resolution resolution = new Aspose.Pdf.Devices.Resolution(200);
Aspose.Pdf.Devices.TiffSettings tiffSettings = new Aspose.Pdf.Devices.TiffSettings();
tiffSettings.Compression = Aspose.Pdf.Devices.CompressionType.LZW;
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Default;
tiffSettings.Shape = Aspose.Pdf.Devices.ShapeType.Portait;
tiffSettings.SkipBlankPages = false;
Aspose.Pdf.Devices.TiffDevice tiffDevice = new Aspose.Pdf.Devices.TiffDevice(resolution, tiffSettings);
tiffDevice.Process(oDoc, sFile + “.tif”);
I have tried also with the latest version 6.4.2
Can you help me?
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-32014. We will investigate this
issue in details and will keep you updated on the status of a correction.
I would like to inform you that the fix for this issue (32014) will be
available in our upcoming monthly release due early next month. You’ll
be notified via this forum thread as soon as the release is available.
If you have any further questions, please do let us know.