3
$\begingroup$

I have

Export["file.png",codeThatMakesAGraphicsObject[],"PNG"];

and want to embed some specific metadata information. Is there a simple way to do that?


Note that this code already (automatically, apparently) includes metadata information for "Horizontal resolution", "Vertical resolution", "Software used", and "Date and time of digitizing", and I don't want to disturb that with any fields I add.

$\endgroup$
  • $\begingroup$ You can't have Exif in PNG. The image has to be JPG or TIF $\endgroup$ – rm -rf Oct 11 '13 at 15:50
  • $\begingroup$ and I don't think EXIF works in Export anyway. There was a question about this on Wolfram communities recently... $\endgroup$ – cormullion Oct 11 '13 at 15:54
  • $\begingroup$ @rm-rf: Good point. Editing to change "EXIF" to "metadata". $\endgroup$ – orome Oct 11 '13 at 15:54
  • $\begingroup$ Maybe this approach would be helpful: mathematica.stackexchange.com/questions/25759/… $\endgroup$ – Michael E2 Oct 12 '13 at 22:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.