I can offer a version with Unix commands for the particular case PDF->PNG (it may work for other target pictures formats). Maybe similar commands are available in Windows.
The method consists of two steps that are piped:
Get the metadata of a .pdf file
pdfinfo myfile.pdf
Get this metadata into the .png file. (See this post for more information)
mogrify -comment "my metadata" myfile.png
I found that .png files do not have such an easy metadata managing as .pdf, therefore, I just used mogrify a command of ImageMagick that inserts data as a "comment" in the image. This comment can be retrieved by running identify.exe -verbose plogo.png | grep -i "comment:" or just identify.exe -verbose plogo.png
Now as pipe in Unix works like that:
pdfinfo myfile.pdf | tr '\n' ' ' | xargs -I metadata mogrify -comment "metadata" myfile.png
Note: the tr '\n' ' ' pipe transforms the line breaks in spaces, so that the whole metadata of the pdf can be inputed as a one-line string into the .png
If you want to select only certain entries of the metadata, you can use grep command to filter. For example, here we extract title, author, and creator of the whole .pdf metadata.
pdfinfo myfile.pdf | grep -i 'title\|author\|creator' | tr '\n' ' ' | xargs -I metadata mogrify -comment "metadata" myfile.png