I’ve recently upgraded from Aspose.Pdf 7.9.1 to 8.1.0 and have notice differences between the output when converting a PDF to Tiff.
This is the code used to produce the attached files:
var pdfDocument = new Document(@“C:\temp\document1.pdf”);
// create Resolution object
var resolution = new Resolution(300);
// create TiffSettings object
var tiffSettings = new TiffSettings { SkipBlankPages = false, Compression = CompressionType.CCITT4, Depth = ColorDepth.Format8bpp };
// create TIFF device
var tiffDevice = new TiffDevice(resolution, tiffSettings);
for (var i = 1; i <= pdfDocument.Pages.Count; i++)
{
tiffDevice.Process(pdfDocument, i,i, string.Format(@“c:\temp\outfiles\page{0}.tiff”,i));
}
I have also experienced solid black images in version 8.1.0.
Any thoughts?