> Yes, I just had to do this myself. > > There are two packages: jhead and exiftool. The former does jpegs only. > I wound up using exiftool, there's a single command to strip all metadata: > > exiftool -all= *.jpg > > If I remember right that creates a copy of the file it processes. > > You can use exiftool to list tags and also remove individual tags. I > used it to make sure there were no GPS tags in pictures from my phone.
I thought I had some problems getting exiftool to work with a PNG file but now I realize I didn't understand how to use it. I think that should be the de facto method for removing EXIF data from many different image formats. - Grant >> Has anyone found a way to completely sanitize images of all >> potentially privacy-invading metadata for posting online? I recently >> discovered that there is actually an EXIF thumbnail image. So if you >> have a photo and you crop it and post it online, the EXIF thumbnail of >> the original uncropped image is still there for all to see. >> >> - Grant