Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.