exiftool / exiftool

ExifTool meta information reader/writer

Home Page:https://exiftool.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: persistent resolution with exiftool -all=

JayBrown opened this issue · comments

Maybe this is a stupid question. I'm removing metadata with exiftool -all= -filename=bar foo, but on macOS this also converts Retina resolution images (e.g. screenshots) from 144 ppi to 72 ppi, for example 840x280 px @ 144 ppi into 840x280 px @ 72 ppi.

Is this conversion related to the removal of all metadata, which would include resolution info? And is there a way around it, i.e. remove all metadata, but forgo any ppi conversion?

The resolution information is in the metadata. You can do this if you want:

exiftool -all= -tagsfromfile @ "-all:*resolution*" FILE

  • Phil

Worked! Thank you very much!