Replace the image in a JPG image file but keep the metadata?

后端 未结 2 649
孤独总比滥情好
孤独总比滥情好 2021-01-19 17:24

Is it possible to replace the image portion of a JPG but keep the embedded metadata? Alternatively, is there a way to reliably copy all metadata from one JPG image to anothe

2条回答
  •  余生分开走
    2021-01-19 18:14

    I think that ImageMagick can help you.

    I saw that ImageMagick example where you can see how to extract all metadata from a jpg file.

    Now if you have the metadata of the original file, you can create a new file with that metadata. I found a example of how to add metadata with ImageMagick

    I hope this can help you

提交回复
热议问题