LoginSignup
5
5

More than 5 years have passed since last update.

Exif 情報を確認し、GPS 位置情報を削除する

Last updated at Posted at 2012-04-21

Macを使って、Exif情報を確認し、その中のGPS位置情報を削除してみます。Sampleのために、GPS位置情報がついた画像ファイルをダウンロードします。ちなみに、Exif情報とはいわゆるGPS位置情報を含む情報のことです。

Exif 情報の確認

Terminal

#Tool Download
brew install exiftool

#Sample File Download
wget -b http://kent3583.cocolog-nifty.com/blog/images/2009/11/17/004.jpg

#Exif Search
exiftool 004.jpg

#Exif Search (Japanese)
exiftool -lang ja 004.jpg

Exif 情報の削除

Terminal

exiftool -overwrite_original -geotag= 004.jpg

正規表現を使い、GPS位置情報をまとめて削除することもできたと思います。その場合は、*.jpgとでもします。
exiftoolを使ってGPS位置情報の削除を多用する場合は、aliasを設定しておくと便利です。

参考URL

Mac固有コマンド

5
5
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5