DOORS 9 and "WMF" files

Our DOORS version: 9.7
Some of our DOORS 9.x users have embedded WMF images in the body of DOORS objects.
This image format is now completely obsolete, and we would like to convert them to PNG or JPG.
We are looking for a DXL script or portions of a script that could help us with this conversion task:
1: Identify objects containing one or more WMF images
2: Convert each image to PNG or JPG
3: Replace the WMF image with its PNG or JPG conversion in the body of the artifact
Thank you in advance for your help and advice.