Free Support Forum - aspose.com

PDF to TIFF processing time

Hi,

The conversion of a pdf of a page to Tiff takes 2 seconds.
Is that it is possible to increase the speed of execution. (example 1 secondes)
SAMPLE CODE

//open document
Document pdfDocument = new Document("C:\\temp\\test.pdf");
//create Resolution object
Resolution resolution = new Resolution(300);
//create TiffSettings object
TiffSettings tiffSettings = new TiffSettings();
tiffSettings.Compression = CompressionType.CCITT4;
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Format1bpp;
tiffSettings.Shape = ShapeType.Portait;
tiffSettings.SkipBlankPages = false;
//create TIFF device
TiffDevice tiffDevice = new TiffDevice(resolution, tiffSettings);
//convert a particular page and save the image to stream
tiffDevice.Process(pdfDocument, Path.ChangeExtension("C:\\temp\\test.pdf", "tif"));

Thanks

Regards

Dominique

Hi Dominique,

Thanks for using our products.

We always strive to provide optimized and stable components and in order for us to further improve the performance of our product, we request you to please share the source PDF document so that we can test the scenario at our end. We are sorry for your inconvenience.

Hi Dominique,

Thanks for sharing the resource file. I have tested the scenario and have observed that PDF to TIFF conversion process is taking quite sometime. For the sake of improvement, I have logged this issue as PDFNEWNET-31042 in our issue tracking system. We will further look into the details of this problem and see how we can further improve the performance of product. Please be patient and spare us little time.We apologize for your inconvenience.