We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert To Tiff doesn't take multiple pages from pdf

Hi Team,

I’m using Aspose.Pdf.Kit 5.5.0 in my application.


I’m unable to create a tiff with text/image from a pdf having
multiple pages. ie the tiff is having only first page from the pdf. I
want to have multiple pages of the pdf into an image stream or tiff
image.

Please find the code


MemoryStream mStream=new MemoryStream();


Aspose.Pdf.Kit.PdfConverter pdfConvertor = new PdfConverter();
pdfConvertor.BindPdf(“c:\testdoc1.pdf”);
pdfConvertor.StartPage = 1;
pdfConvertor.EndPage = 2; // or number of pages of the pdf file which is taken from pdf file info
pdfConvertor.DoConvert();
pdfConvertor.SaveAsTIFF(“c:\testdoc1.tiff”); // or pdfConvertor.SaveAsTIFF(mStream); // Actually I need the image as stream for further processing.

Can you please help me find out the actual reason behind it?

Hi Ratheesh,

You may follow up this issue in your other thread.

Regards,