I suggest to expand the XML-Export with the following feature:
Adding the file path and name of the original image to the corresponding xml-tag.
A typical use case might be:
Using the original image without converting it to JPEG.
Example:
<Object Type="Drawing"> <Type_Dependent_Properties> <Picture> <OrgFile>C:\file\path\filename.DXF</OrgFile> ...