Stripping unnecessary metadata

18 Feb, 2014

Digital cameras add a lot of metadata to photos such as the camera model, settings, date and time and in some cases even the name of the registered user of the camera.

Smartphones may also add geodata, GPS coordinates of where and when a picture was taken.

This is extremely useful but in some cases you might not want to give all that information away. There's a very handy utility called jhead which makes it a breeze to sanitise JPEG files before publishing them. Simply run:

jhead -purejpg photo.jpg

jhead should be available in most Linux distributions.

Unfortunately, there's still ways to de-anonymize JPEG images without the Exif metadata.

Tags: exif, jhead, jpeg, metadata,