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

Free Support Forum - aspose.com

Not all images in PDF file accessable through document.pages[x].Resources.Images

I have a question about an issue I have with Aspose.PDF for .NET v 10.8.0.0

For some reason I cannot access all the images in a pdf file via document.pages[x].Resources.Images

Is this a known issue? Can I access them in an other way?

(I have to update the images)



note: Aspose.Pdf.Facades.PDFConverter is able to extract the image.



I have attached a sample PDF which will demonstrate the issue.

Hi Stephan,


Thanks for contacting support.

In order to get the images inside PDF file, please try using code snippet specified over Search and Get Images from PDF Document

During my testing, I am able to get information of image placed inside document.

Hi,

Getting the images is not the problem here. As I can do that also with the PDFConverter.

The problem is updating the image.

The image is not in Document.Pages[x].Resources.Images so I cannot call Pages[x].Resources.Images.Replace(…)

tuinders:
Hi,

Getting the images is not the problem here. As I can do that also with the PDFConverter.

The problem is updating the image.

The image is not in Document.Pages[x].Resources.Images so I cannot call Pages[x].Resources.Images.Replace(…)

Hi Stephan,

Thanks for sharing the details.

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-39502 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. Please be patient and spare us little time. We are sorry
for this inconvenience.