I Try To Convert Pdf to Tiff
Throw Object null Reference When try To Convert
Pdf_21k_490-9770-9771.pdf (86.8 KB)
I use this c# code to convert
//tiff setting
private readonly TiffSettings tiffSettings = new()
{
Compression = CompressionType.CCITT4,
Depth = Aspose.Pdf.Devices.ColorDepth.Default,
SkipBlankPages = false,
};
//resolution = 300
TiffDevice tiffDevice = new TiffDevice(pageSizea, resolution, tiffSettings);
try
{
for (int i = 1; i <= pageCount; i++)
{
tiffDevice.Process(pdfDocument, i, i, outputTiffPath + $“\{i}.tiff”);
}
}
Note : If I Set SkipBlankPages = false then My Tiff Output Page is Empty Instead Of With Text