{"id":188,"date":"2017-04-09T16:35:42","date_gmt":"2017-04-09T14:35:42","guid":{"rendered":"http:\/\/kurt.www.pinboard.jp\/blog\/?p=188"},"modified":"2017-04-09T16:35:42","modified_gmt":"2017-04-09T14:35:42","slug":"remove-exif-data-from-photos","status":"publish","type":"post","link":"http:\/\/kurt.www.pinboard.jp\/blog\/kurt\/188\/","title":{"rendered":"remove EXIF data from photos"},"content":{"rendered":"<p>Current digital cameras add all kind of data to each picture taken in JPEG format. Some of it may actually be useful, such as <em>Orientation<\/em>, which helps to automatically display the picture in the proper orientation (portrait or landscape). But much of the information <!--more-->is not adding any value (at least as I see it) and things like what camera and camera settings I used to take a picture, at what longitude and latitude I was when taking the picture etc. is not necessarily something I want to share with others when passing the photo on to somebody.<\/p>\n<p>With the command <span style=\"color: #008000;\">exiftool<\/span>, from the package <em>Perl-Image-ExifTool<\/em>, the various data can be listed, removed or additional data added.<\/p>\n<p>To list the EXIF data:<\/p>\n<pre style=\"background-color: lightyellow; color: green;\">exiftool --list <em><font color=\"red\">&lt;file(s)&gt;<\/font><\/em><\/pre>\n<p>To remove all EXIF data, except for <em>Orientation<\/em>, <em>X Resolution<\/em> and <em>Y Resolution<\/em> and add a <em>Copyright<\/em>, use the following:<\/p>\n<pre style=\"background-color: lightyellow; color: green;\">\r\nexiftool -all= -tagsFromFile @ -Orientation -\"X Resolution\" -\"Y Resolution\" \\\r\n         -Copyright=\"(c) $(date +%Y) <em><font color=\"red\">Kurt Keller<\/font><\/em>\" *.JPG<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Current digital cameras add all kind of data to each picture taken in JPEG format. Some of it may actually be useful, such as Orientation, which helps to automatically display the picture in the proper orientation (portrait or landscape). But much of the information<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[29],"tags":[33,34],"_links":{"self":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/188"}],"collection":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":8,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":234,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions\/234"}],"wp:attachment":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}