I am trying to extractImage from a PDF using Spire.PDF and c# but "ExtractImages()" is returning null as a result.
I got my code from the Guid (see below)... so I am afraid something with my PDF (see attachment) is wrong.. maybe the whole site is recognized as one Image and thus it is not working?
- Code: Select all
for (int i = 0; i < doc.Pages.Count; i++)
{
// Get an object of Spire.Pdf.PdfPageBase
PdfPageBase page = doc.Pages[i];
// Extract images from Spire.Pdf.PdfPageBase
Image[] images = page.ExtractImages();
if (images != null && images.Length > 0)
Thank you and regards
Luis