Extract embedded images in the input and insert a reference to the extracted image in the conversion output