Harish Srinivas bio photo

Harish Srinivas

“Autodidact with an insatiable thirst for learning something new everyday. Wearer of many hats. DevOp Engineer/Release Engineer, Security Engineer, Linux fanatic, Amateur photographer, Maker & Novice App developer.”

Email

Removing EXIF Metadata with ImageMagick

If you need to strip the EXIF metadata from images, use ImageMagick's mogrify command. To install ImageMagick on ubuntu using apt type the following command in a terminal

sudo apt-get  install ImageMagick

After ImageMagick is installed, you will have /usr/bin/mogrify available. The mogrify command can be used to strip Exif data from images.

mogrify -strip imagename.jpg