PdfConverter extracting only top left corner of page

When I extract images from this PDF the images contain only the top left corner of each page. Please see attached zipfile of pdf and extracted images. I’m using Aspose.Pdf 6.5.0.


Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense( “aspose.total.product.family.lic” );
string pdfFileName = @“c:\temp\pdfexport\1102_Gallo_Demand.pdf”;
string targetPath = @“c:\temp\pdfexport”;

PdfConverter converter = new PdfConverter();
converter.BindPdf( pdfFileName );
converter.DoConvert();

int pageNumber = 1;
while ( converter.HasNextImage() )
{
string outputFile = String.Format( @"{0}{1}.png", targetPath, pageNumber.ToString( “000” ) );
converter.GetNextImage( outputFile, System.Drawing.Imaging.ImageFormat.Png );
pageNumber++;
}

Hi Mike,

Thank you for sharing the template documents and sample source code.

I have tested the scenario and I am able to notice the same problem. For the sake of correction, I have logged this problem as PDFNEWNET-33126 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction via this forum thread.

We apologize for your inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33126) have been fixed in Aspose.Pdf for .NET 8.0.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.