Monday, July 21, 2008

Remove all metadata from JPEGs

I was looking for a tool to remove all meta data (including EXIF data) from JPEG files, before I would upload them to Picasa. Unfortunately CocoviewX does only remove some EXIF data, but not all other meta data such as comments, copyright notice, etc. Fortunately jhead, a command line tool for all major operating systems, allows to tune the degree of info removal and has also a nice "remove all" feature.

You can strip all meta info from JPEGs in a folder by using the shell and typing:

jhead -purejpg *.jpg

PS: After downloading jhead from the official website you might need to make it executable (chmod 755 jhead) and move it to a proper location (sudo mv jhead /usr/local/bin).

No comments: