It seems to me that even though I define the page counts to be converted, it is very slow on a multi page document. It looks at though it converts the whole thing and then return just the page I want. Is it not possible to just convert the page I request? Is there something else I need to do to speed up the extraction of a single page to jpg? I am using version 4.1 of the aspose.pdf.kit dll
It seems to a similar problem to this support ticket here: http://www.aspose.com/community/forums/67380/issue-with-pdfconverter-startpage-and-endpage-properties/showthread.aspx#67380 which says is resolved but does not feel like it is.
Here is the code I am using.
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.BindPdf("c:\\temp\\multi.pdf"); // an 8 page document takes approx 15 seconds to show 1 page converted
pdfConverter.StartPage = 2;
pdfConverter.EndPage = 3;
if (pdfConverter.HasNextImage())
{
pdfConverter.GetNextImage(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
}
pdfConverter.Close();