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.