pdfExtractor.ExtractImageMode = ExtractImageMode.DefinedInResources;

Hello,

I don’t suppose you have any test documents that I could use for ‘DefinedInResources’ because the PDF in which I have tested with doesn’t work. I have deleted an image using Adobe Acrobat and it isn’t being picked up when using the ‘DefinedInResources’ setting?

image.png (51.6 KB)

Extract Images using PdfExtractor|Aspose.PDF for .NET
“Aspose.PDF supports two extraction modes; first is ActuallyUsedImage which extract the images actually used in the PDF document. Second mode is DefinedInResources which extract the images defined in the resources of the PDF document (default extraction mode)”

Regards,
djs

@djsomers1000

Do you need a sample PDF that has images as DefinedInResources?

Yes please, if you have one. I don’t exactly know how to reproduce one?

Are you able to explain how I could create one of my own?

@djsomers1000

Have created a task under the ticket PDFNET-58207. We will work on your request and let you know once ticket is resolved.