Performance issue in pdf to tiff conversion

PDF with 2 pages took 7 to 8 sec, but our expected result should be in milliseconds.

[1:24 PM] Latha, Swarna (CCB, IND)

        string inputFile = @"I:\asposeFilesTest\PDFFiles\UCDP FHLMC_82620.pdf";

        string outputfile = @"I:\asposeFilesTest\TiffFiles";

        Document doc = new Document(inputFile);

        Resolution resolution = new Resolution(300, 300);

        TiffSettings tiffSettings = new TiffSettings

        {

            Compression = CompressionType.LZW,

            Depth = ColorDepth.Format4bpp,

            Shape = ShapeType.Portrait,

            SkipBlankPages = true

        };

        TiffDevice tiffdeviceobj = new TiffDevice(resolution, tiffSettings);

        string imgFileName = Path.Combine("@", outputfile, "Test.tif");

        Console.WriteLine("startprocess" + DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss:fff", CultureInfo.InvariantCulture));

        tiffdeviceobj.Process(doc, imgFileName);

        Console.WriteLine("EndProcess" + DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss:fff", CultureInfo.InvariantCulture));

        Console.ReadLine();

code snippet attached
code_snippet.png (81.8 KB)

@santoshPradeep,

Please also provide the source PDF document so we can evaluate your issue more precisely. Moreover, I am moving your thread to the Aspose.PDF forum, and one of our Aspose.PDF team members will assist you soon.

Hi Sahi,

The above sample file we have verified it was taking more than expected time. Expecting to process tiff conversion with in milli seconds as we process huge volume of documents.

@Latha_Swarna

We are unable to find any file attached in this thread yet. Please try to upload the sample file again so that we can further proceed accordingly.

Please find the attached one.

file-sample_150kB.pdf (139 KB)

@santoshPradeep

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58695

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Our company has purchased paid support , please refer to PR111215007 and share a POC for us to work with. Thanks

@santoshPradeep

If you have purchased paid support, you will be able to sign in into paid support forum using the same email address that was used to purchase the subscription. Please login there and create a new ticket with the issue ID shared in this forum thread. Your issue will be escalated to the highest priority then.

The issues you have found earlier (filed as PDFNET-58695) have been fixed in Aspose.PDF for .NET 24.12.