Getting file name of picture in header command

I need to replace images in an Excel header based on the file name.

I can’t find a way to retrieve the file name from the picture header script command (“&G”) .

Is there any way to achieve this using Aspose.Cells for Java with version 24.12?
I am able to get the picture using worksheet.getPageSetup().getPicture(true, idx). The method “getSourceFullName” always returns null and I can’t find another suitable method.

Many thanks in advance!

This topic has been moved to the related forum: Getting file name of picture in header command - Free Support Forum - aspose.com