サンプルデータ的に、2ヶ所にて、それぞれ位置情報あり/なしの2パターンの、全部で4写真のデータを残しておく。

ちなみに、iPhone で撮影した写真に位置情報 (緯度経度など) を付加したくない場合は、 [設定] → [位置情報サービス] → [カメラ] から設定できる。

撮影環境: iPhone 3GS + iOS 5.0 (9A334)
確認環境: MacBook Air with Mac OS X Lion + jhead 2.90


$ uname -mrsv
Darwin 11.0.1 Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64 x86_64
 
$ jhead -V
Jhead version: 2.90   Compiled: Oct  9 2011

位置情報 有り (IMG_9003.jpg):
iPhone 3GS + iOS 5.0 で撮影した写真のExif情報 位置情報 有り
元の写真 (1.08MB)


$ jhead -v ./IMG_9003.jpg
Exif header 12286 bytes long
Exif section in Motorola order
(dir has 11 entries)
    Make = "Apple"
    Model = "iPhone 3GS"
    Orientation = 1
    XResolution = 72/1
    YResolution = 72/1
    ResolutionUnit = 2
    Software = "5.0"
    DateTime = "2011:10:24 09:20:35"
    YCbCrPositioning = 1
    ExifOffset = 200
    Exif Dir:(dir has 24 entries)
        ExposureTime = 1/1713
        FNumber = 14/5
        ExposureProgram = 2
        ISOSpeedRatings = 64
        ExifVersion = "0221"
        DateTimeOriginal = "2011:10:24 09:20:35"
        DateTimeDigitized = "2011:10:24 09:20:35"
        ComponentsConfiguration = "?"
        ShutterSpeedValue = 4587/427
        ApertureValue = 4281/1441
        BrightnessValue = 5274/553
        MeteringMode = 3
        Flash = 32
        FocalLength = 77/20
        SubjectArea = 1065, 1319, 382, 384
        FlashPixVersion = "0100"
        ColorSpace = 1
        ExifImageWidth = 2048
        ExifImageLength = 1536
        SensingMethod = 2
        ExposureMode = 0
        WhiteBalance = 0
        SceneCaptureType = 0
        Sharpness = 1
    GPS Dir offset = 590
    GPS info dir:(dir has 9 entries)
        GPSLatitudeRef      ="N"
        GPSLatitude         =35/1, 1051/100, 0/1, 1051/100, 0/1, 136/1, 0/1, 136/1, 5313/100
        GPSLongitudeRef     ="E"
        GPSLongitude        =136/1, 5313/100, 0/1, 5313/100, 0/1, 8951/579, 0/1, 8951/579, 0/1
        GPSAltitudeRef      =00
        GPSAltitude         =8951/579
        GPSTimeStamp        =0/1, 20/1, 2881/1, 20/1, 2881/1, 54286/249, 2881/1, 54286/249, 393475/196608
        GPSImgDirectionRef  ="T"
        GPSImgDirection     =54286/249
    Continued directory (dir has 6 entries)
        Compression = 6
        XResolution = 72/1
        YResolution = 72/1
        ResolutionUnit = 2
        ThumbnailOffset = 886
        ThumbnailLength = 8603
Thumbnail size: 8603 bytes
Jpeg section marker 0xdb size 132
JPEG image is 2048w * 1536h, 3 color components, 8 bits per sample
Jpeg section marker 0xc4 size 418
File name    : ./IMG_9003.jpg
File size    : 1133368 bytes
File date    : 2011:10:24 22:37:00
Camera make  : Apple
Camera model : iPhone 3GS
Date/Time    : 2011:10:24 09:20:35
Resolution   : 2048 x 1536
Flash used   : No
Focal length :  3.8mm
Exposure time: 0.0006 s  (1/1713)
Aperture     : f/2.8
ISO equiv.   : 64
Whitebalance : Auto
Metering Mode: spot
Exposure     : program (auto)
GPS Latitude : N 35d 10.51m  0s
GPS Longitude: E 136d 53.13m  0s
GPS Altitude :  15.46m

位置情報 無し (IMG_9004.jpg):
iPhone 3GS + iOS 5.0 で撮影した写真のExif情報 位置情報 無し
元の写真 (1.08MB)


$ jhead -v ./IMG_9004.jpg
Exif header 12286 bytes long
Exif section in Motorola order
(dir has 10 entries)
    Make = "Apple"
    Model = "iPhone 3GS"
    Orientation = 1
    XResolution = 72/1
    YResolution = 72/1
    ResolutionUnit = 2
    Software = "5.0"
    DateTime = "2011:10:24 09:20:58"
    YCbCrPositioning = 1
    ExifOffset = 188
    Exif Dir:(dir has 24 entries)
        ExposureTime = 1/1646
        FNumber = 14/5
        ExposureProgram = 2
        ISOSpeedRatings = 64
        ExifVersion = "0221"
        DateTimeOriginal = "2011:10:24 09:20:58"
        DateTimeDigitized = "2011:10:24 09:20:58"
        ComponentsConfiguration = "?"
        ShutterSpeedValue = 11743/1099
        ApertureValue = 4281/1441
        BrightnessValue = 10259/1083
        MeteringMode = 1
        Flash = 32
        FocalLength = 77/20
        SubjectArea = 1023, 767, 614, 614
        FlashPixVersion = "0100"
        ColorSpace = 1
        ExifImageWidth = 2048
        ExifImageLength = 1536
        SensingMethod = 2
        ExposureMode = 0
        WhiteBalance = 0
        SceneCaptureType = 0
        Sharpness = 1
    Continued directory (dir has 6 entries)
        Compression = 6
        XResolution = 72/1
        YResolution = 72/1
        ResolutionUnit = 2
        ThumbnailOffset = 672
        ThumbnailLength = 8680
Thumbnail size: 8680 bytes
Jpeg section marker 0xdb size 132
JPEG image is 2048w * 1536h, 3 color components, 8 bits per sample
Jpeg section marker 0xc4 size 418
File name    : ./IMG_9004.jpg
File size    : 1138671 bytes
File date    : 2011:10:24 22:37:00
Camera make  : Apple
Camera model : iPhone 3GS
Date/Time    : 2011:10:24 09:20:58
Resolution   : 2048 x 1536
Flash used   : No
Focal length :  3.8mm
Exposure time: 0.0006 s  (1/1646)
Aperture     : f/2.8
ISO equiv.   : 64
Whitebalance : Auto
Metering Mode: average
Exposure     : program (auto)

位置情報 有り (IMG_9005.jpg):
iPhone 3GS + iOS 5.0 で撮影した写真のExif情報 位置情報 有り
元の写真 (1.12MB)


$ jhead -v ./IMG_9005.jpg
Exif header 12286 bytes long
Exif section in Motorola order
(dir has 11 entries)
    Make = "Apple"
    Model = "iPhone 3GS"
    Orientation = 6
    XResolution = 72/1
    YResolution = 72/1
    ResolutionUnit = 2
    Software = "5.0"
    DateTime = "2011:10:24 09:21:45"
    YCbCrPositioning = 1
    ExifOffset = 200
    Exif Dir:(dir has 24 entries)
        ExposureTime = 1/3926
        FNumber = 14/5
        ExposureProgram = 2
        ISOSpeedRatings = 64
        ExifVersion = "0221"
        DateTimeOriginal = "2011:10:24 09:21:45"
        DateTimeDigitized = "2011:10:24 09:21:45"
        ComponentsConfiguration = "?"
        ShutterSpeedValue = 13491/1130
        ApertureValue = 4281/1441
        BrightnessValue = 9481/881
        MeteringMode = 3
        Flash = 32
        FocalLength = 77/20
        SubjectArea = 1448, 1290, 382, 384
        FlashPixVersion = "0100"
        ColorSpace = 1
        ExifImageWidth = 2048
        ExifImageLength = 1536
        SensingMethod = 2
        ExposureMode = 0
        WhiteBalance = 0
        SceneCaptureType = 0
        Sharpness = 1
    GPS Dir offset = 590
    GPS info dir:(dir has 7 entries)
        GPSLatitudeRef      ="N"
        GPSLatitude         =35/1, 1054/100, 0/1, 1054/100, 0/1, 136/1, 0/1, 136/1, 5315/100
        GPSLongitudeRef     ="E"
        GPSLongitude        =136/1, 5315/100, 0/1, 5315/100, 0/1, 10006/647, 0/1, 10006/647, 0/1
        GPSAltitudeRef      =00
        GPSAltitude         =10006/647
        GPSTimeStamp        =0/1, 21/1, 4458/1, 21/1, 4458/1, 393475/196608, 4458/1, 393475/196608, 65542/282
    Continued directory (dir has 6 entries)
        Compression = 6
        XResolution = 72/1
        YResolution = 72/1
        ResolutionUnit = 2
        ThumbnailOffset = 854
        ThumbnailLength = 10694
Thumbnail size: 10694 bytes
Jpeg section marker 0xdb size 132
JPEG image is 2048w * 1536h, 3 color components, 8 bits per sample
Jpeg section marker 0xc4 size 418
File name    : ./IMG_9005.jpg
File size    : 1176659 bytes
File date    : 2011:10:24 22:37:00
Camera make  : Apple
Camera model : iPhone 3GS
Date/Time    : 2011:10:24 09:21:45
Resolution   : 2048 x 1536
Orientation  : rotate 90
Flash used   : No
Focal length :  3.8mm
Exposure time: 0.0003 s  (1/3926)
Aperture     : f/2.8
ISO equiv.   : 64
Whitebalance : Auto
Metering Mode: spot
Exposure     : program (auto)
GPS Latitude : N 35d 10.54m  0s
GPS Longitude: E 136d 53.15m  0s
GPS Altitude :  15.47m

位置情報 無し (IMG_9006.jpg):
iPhone 3GS + iOS 5.0 で撮影した写真のExif情報 位置情報 無し
元の写真 (1.15MB)


$ jhead -v ./IMG_9006.jpg
Exif header 12286 bytes long
Exif section in Motorola order
(dir has 10 entries)
    Make = "Apple"
    Model = "iPhone 3GS"
    Orientation = 6
    XResolution = 72/1
    YResolution = 72/1
    ResolutionUnit = 2
    Software = "5.0"
    DateTime = "2011:10:24 09:22:02"
    YCbCrPositioning = 1
    ExifOffset = 188
    Exif Dir:(dir has 24 entries)
        ExposureTime = 1/3844
        FNumber = 14/5
        ExposureProgram = 2
        ISOSpeedRatings = 64
        ExifVersion = "0221"
        DateTimeOriginal = "2011:10:24 09:22:02"
        DateTimeDigitized = "2011:10:24 09:22:02"
        ComponentsConfiguration = "?"
        ShutterSpeedValue = 11444/961
        ApertureValue = 4281/1441
        BrightnessValue = 7537/701
        MeteringMode = 3
        Flash = 32
        FocalLength = 77/20
        SubjectArea = 1344, 906, 382, 384
        FlashPixVersion = "0100"
        ColorSpace = 1
        ExifImageWidth = 2048
        ExifImageLength = 1536
        SensingMethod = 2
        ExposureMode = 0
        WhiteBalance = 0
        SceneCaptureType = 0
        Sharpness = 1
    Continued directory (dir has 6 entries)
        Compression = 6
        XResolution = 72/1
        YResolution = 72/1
        ResolutionUnit = 2
        ThumbnailOffset = 672
        ThumbnailLength = 11142
Thumbnail size: 11142 bytes
Jpeg section marker 0xdb size 132
JPEG image is 2048w * 1536h, 3 color components, 8 bits per sample
Jpeg section marker 0xc4 size 418
File name    : ./IMG_9006.jpg
File size    : 1210905 bytes
File date    : 2011:10:24 22:37:00
Camera make  : Apple
Camera model : iPhone 3GS
Date/Time    : 2011:10:24 09:22:02
Resolution   : 2048 x 1536
Orientation  : rotate 90
Flash used   : No
Focal length :  3.8mm
Exposure time: 0.0003 s  (1/3844)
Aperture     : f/2.8
ISO equiv.   : 64
Whitebalance : Auto
Metering Mode: spot
Exposure     : program (auto)

以下、参考までにExifサンプルデータやjhead活用方法など。

Ref.
- ヅラッシュ! - iPhone 3GS を4方向に傾けてサンプル的に写真を撮ってみた
- ヅラッシュ! - iPhoneの「カメラ」アプリで撮影した写真のExifデータ (USB転送、メール添付、MMS添付の比較)
- ヅラッシュ! - MOTOROLA XOOMで撮影した写真のExif情報(GPS情報付き)
- ヅラッシュ! - ニンテンドーDSiで撮影した写真のEXIF情報
- ヅラッシュ! - Paint.NETでモザイクかけたのにサムネイル画像がそのままだった件
- ヅラッシュ! - jheadでJPEG写真のEXIF情報(位置情報や回転情報など)を削除する

tags: iphone exif photo

Posted by NI-Lab. (@nilab)