Hello,
I am having a performance issue converting PDF documents to Tiff. For example, a simple 7 page pdf that contains mostly text a page header that has a graphic, it takes about 6 second to save as a single multiple image tiff file.
I have tried imaging the pdf using the TiffDevice and the pdfConverter examples that aspose provides and also tried using the IIndexBitmapConverter as per this link with no luck:
https://docs.aspose.com/display/pdfnet/performance+improvement+during+pdf+to+tiff+conversion
I am using the latest version of aspose.pdf and I have tried adjusting the tiff settings and resolution without much change in performance
Here is a example of how I am converting the pdf to tiff:
Document pdf = new Document(@"d:\input\simple.pdf");
var resolution = new Resolution(300);
TiffDevice tiff = new TiffDevice(resolution, settings);
TiffSettings settings = new TiffSettings()
{
Compression = CompressionType.CCITT4,
Depth = ColorDepth.Format8bpp,
SkipBlankPages = false,
Shape = ShapeType.Portrait
};
var tempFile = string.Format(@"d:\output\pdf.tif");
tiff.Process(pdf, tempFile);
Has anyone else seen this issue or have a suggestion to improve performance?