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

Free Support Forum - aspose.com

Image counting problems

I’m trying to count images in a pdf file, The attached file contains 14 images, however, when I count the images, I get 14 on each page. For example,


int count = 0;
foreach (Page page in doc.Pages)
count += page.Resources.Images.Count;
}

At the end of this, the count will be 14*15 = 210.

Hi Trenton,

Thanks for your inquiry. While testing the scenario with your shared document, we have managed to reproduce the issue with latest version of Aspose.Pdf for .NET 9.7.0. We have logged a ticket PDFNEWNET-37695 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

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


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