Identify location of SVG graphics in PDF and extract

Hi,
I’m trying to identify the location of SVG graphics in a PDF so that I can process the graphic and return any text from the graphic to the text stream at the location of the graphic.

I see on the forum that the recommendation is to use a GraphicsAbsorber for SVG, and using it I can loop through the recognized elements, but is there way to (1) determine whether the graphic is SVG or not , and (2) save the graphic to a file or stream?

I see that “TrySaveVectorGraphics” will extract the images, but doesn’t seem to have any way to expose exactly where the SVG occurred in the file.

Do you have any recommendations? Essentially, I’d like to open the PDF, find each instance of SVG, save to a file or stream, convert to PNG, run OCR on the PNG, return extracted text to the point where the original SVG image was found.

Thanks,
John

This topic has been moved to the related forum: Identify location of SVG graphics in PDF and extract - Free Support Forum - aspose.com