wiki:Dev/Perl/exiftool

Version 3 (modified by mitty, 13 years ago) (diff)

--

output sample of exiftool

Canon IXY DIGITAL 400

  • exiftool -a -u -g1 IMG_4925.JPG > IMG_4925.JPG.log
    ---- ExifTool ----
    ExifTool Version Number         : 8.25
    ---- System ----
    File Name                       : IMG_4925.JPG
    Directory                       : .
    File Size                       : 1446 kB
    File Modification Date/Time     : 2010:12:30 18:42:44+09:00
    File Permissions                : rw-rw-rw-
    ---- File ----
    File Type                       : JPEG
    MIME Type                       : image/jpeg
    Exif Byte Order                 : Little-endian (Intel, II)
    Image Width                     : 2272
    Image Height                    : 1704
    Encoding Process                : Baseline DCT, Huffman coding
    Bits Per Sample                 : 8
    Color Components                : 3
    Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
    ---- IFD0 ----
    Make                            : Canon
    Camera Model Name               : Canon IXY DIGITAL 400
    Orientation                     : Horizontal (normal)
    X Resolution                    : 180
    Y Resolution                    : 180
    Resolution Unit                 : inches
    Modify Date                     : 2010:12:30 18:42:45
    Y Cb Cr Positioning             : Centered
    ---- ExifIFD ----
    Exposure Time                   : 1/8
    F Number                        : 2.8
    Exif Version                    : 0220
    Date/Time Original              : 2010:12:30 18:42:45
    Create Date                     : 2010:12:30 18:42:45
    Components Configuration        : Y, Cb, Cr, -
    Compressed Bits Per Pixel       : 5
    Shutter Speed Value             : 1/8
    Aperture Value                  : 2.8
    Exposure Compensation           : 0
    Max Aperture Value              : 2.8
    Metering Mode                   : Multi-segment
    Flash                           : Off, Did not fire
    Focal Length                    : 7.4 mm
    User Comment                    : 
    Flashpix Version                : 0100
    Color Space                     : sRGB
    Exif Image Width                : 2272
    Exif Image Height               : 1704
    Focal Plane X Resolution        : 8114.285714
    Focal Plane Y Resolution        : 8114.285714
    Focal Plane Resolution Unit     : inches
    Sensing Method                  : One-chip color area
    File Source                     : Digital Camera
    Custom Rendered                 : Normal
    Exposure Mode                   : Auto
    White Balance                   : Auto
    Digital Zoom Ratio              : 1
    Scene Capture Type              : Standard
    ---- Canon ----
    Macro Mode                      : Macro
    Self Timer                      : Off
    Quality                         : Superfine
    Canon Flash Mode                : Off
    Continuous Drive                : Single
    Focus Mode                      : Single
    Record Mode                     : JPEG
    Canon Image Size                : Large
    Easy Mode                       : Full auto
    Digital Zoom                    : None
    Contrast                        : Normal
    Saturation                      : Normal
    Sharpness                       : 0
    Camera ISO                      : Auto
    Metering Mode                   : Evaluative
    Focus Range                     : Macro
    AF Point                        : Auto AF point selection
    Canon Exposure Mode             : Easy
    Lens Type                       : Unknown (-1)
    Long Focal                      : 22.21875 mm
    Short Focal                     : 7.40625 mm
    Focal Units                     : 32/mm
    Max Aperture                    : 2.9
    Min Aperture                    : 7.2
    Flash Activity                  : 0
    Flash Bits                      : (none)
    Focus Continuous                : Single
    AE Setting                      : Normal AE
    Zoom Source Width               : 2272
    Zoom Target Width               : 2272
    Spot Metering Mode              : AF Point
    Photo Effect                    : Off
    Manual Flash Output             : n/a
    Focal Type                      : Zoom
    Focal Length                    : 7.40625 mm
    Focal Plane X Size              : 7.26 mm
    Focal Plane Y Size              : 5.46 mm
    Canon Flash Info                : 1024 0 0 0
    Auto ISO                        : 130
    Base ISO                        : 50
    Measured EV                     : 6.63
    Target Aperture                 : 2.8
    Target Exposure Time            : 1/8
    Exposure Compensation           : 0
    White Balance                   : Auto
    Slow Shutter                    : Off
    Shot Number In Continuous Burst : 0
    Optical Zoom Code               : 0
    Flash Guide Number              : 0
    Flash Exposure Compensation     : 0
    Auto Exposure Bracketing        : Off
    AEB Bracket Value               : 0
    Control Mode                    : Camera Local Control
    Focus Distance Upper            : 0.42 m
    Focus Distance Lower            : 0 m
    F Number                        : 2.9
    Exposure Time                   : 1/8
    Bulb Duration                   : 0
    Camera Type                     : Compact
    Auto Rotate                     : None
    ND Filter                       : Off
    Self Timer 2                    : 0
    Flash Output                    : 0
    Canon 0x0000                    : 0 0 0 0 0 0
    Canon 0x0000                    : 0 0 0 0
    Num AF Points                   : 9
    Valid AF Points                 : 9
    Canon Image Width               : 2272
    Canon Image Height              : 1704
    AF Image Width                  : 2272
    AF Image Height                 : 212
    AF Area Width                   : 409
    AF Area Height                  : 38
    AF Area X Positions             : -410 0 410 -410 0 410 -410 0 410
    AF Area Y Positions             : -41 -41 -41 0 0 0 41 41 41
    AF Points In Focus              : 1
    Primary AF Point                : 1
    Thumbnail Image Valid Area      : 0 0 0 0
    Canon Image Type                : IMG:IXY DIGITAL 400 JPEG
    Canon Firmware Version          : Firmware Version 2.00
    File Number                     : 149-4925
    Owner Name                      : 
    Canon Model ID                  : PowerShot S400 / Digital IXUS 400 / IXY Digital 400
    ---- InteropIFD ----
    Interoperability Index          : R98 - DCF basic file (sRGB)
    Interoperability Version        : 0100
    Related Image Width             : 2272
    Related Image Height            : 1704
    ---- IFD1 ----
    Compression                     : JPEG (old-style)
    X Resolution                    : 180
    Y Resolution                    : 180
    Resolution Unit                 : inches
    Thumbnail Offset                : 2048
    Thumbnail Length                : 6203
    ---- Composite ----
    Aperture                        : 2.8
    Drive Mode                      : Single-frame Shooting
    ISO                             : 65
    Image Size                      : 2272x1704
    Lens                            : 7.4 - 22.2 mm
    Lens ID                         : Unknown 7-22mm
    Scale Factor To 35 mm Equivalent: 4.8
    Shooting Mode                   : Full auto
    Shutter Speed                   : 1/8
    Thumbnail Image                 : (Binary data 6203 bytes, use -b option to extract)
    Circle Of Confusion             : 0.006 mm
    Field Of View                   : 54.1 deg
    Focal Length                    : 7.4 mm (35 mm equivalent: 35.3 mm)
    Hyperfocal Distance             : 3.10 m
    Lens                            : 7.4 - 22.2 mm (35 mm equivalent: 35.3 - 105.8 mm)
    Light Value                     : 6.6
    
  • attachment:IMG_4925.JPG
    • exiftool -b -PreviewImage IMG_4925.JPG > IMG_4925.preview.JPG
      • no output
    • exiftool -b -ThumbnailImage IMG_4925.JPG > IMG_4925.thumb.JPG
      exiftool -b -ThumbnailImage IMG_4925.JPG > IMG_4925.thumb.JPG

RICOH CX1

  • exiftool -a -u -g1 RIMG6612.JPG > RIMG6612.JPG.log
    ---- ExifTool ----
    ExifTool Version Number         : 8.25
    ---- System ----
    File Name                       : RIMG6612.JPG
    Directory                       : .
    File Size                       : 1123 kB
    File Modification Date/Time     : 2010:12:28 07:17:04+09:00
    File Permissions                : rw-rw-rw-
    ---- File ----
    File Type                       : JPEG
    MIME Type                       : image/jpeg
    Exif Byte Order                 : Big-endian (Motorola, MM)
    Image Width                     : 2592
    Image Height                    : 1944
    Encoding Process                : Baseline DCT, Huffman coding
    Bits Per Sample                 : 8
    Color Components                : 3
    Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
    ---- IFD0 ----
    Image Description               : Exif_JPEG_PICTURE
    Make                            : RICOH
    Camera Model Name               : CX1
    Orientation                     : Horizontal (normal)
    X Resolution                    : 72
    Y Resolution                    : 72
    Resolution Unit                 : inches
    Modify Date                     : 2010:12:28 07:17:04
    Y Cb Cr Positioning             : Co-sited
    Copyright                       : 
    ---- ExifIFD ----
    Exposure Time                   : 0.5
    F Number                        : 3.6
    Exposure Program                : Program AE
    ISO                             : 80
    Exif Version                    : 0221
    Date/Time Original              : 2010:12:28 07:17:04
    Create Date                     : 2010:12:28 07:17:04
    Components Configuration        : Y, Cb, Cr, -
    Compressed Bits Per Pixel       : 1.6
    Aperture Value                  : 3.6
    Brightness Value                : -1.2
    Exposure Compensation           : -0.7
    Max Aperture Value              : 3.1
    Metering Mode                   : Multi-segment
    Light Source                    : Unknown
    Flash                           : Off, Did not fire
    Focal Length                    : 5.7 mm
    User Comment                    : 
    Flashpix Version                : 0100
    Color Space                     : sRGB
    Exif Image Width                : 2592
    Exif Image Height               : 1944
    Exposure Mode                   : Auto
    White Balance                   : Auto
    Scene Capture Type              : Standard
    Sharpness                       : Normal
    ---- Ricoh ----
    Maker Note Type                 : Rdc
    Firmware Version                : 1.16
    Ricoh 0x0003                    : 1003
    Serial Number                   : (20060000)00106799
    Ricoh 0x0006                    : 
    Ricoh Image Width               : 2592
    Ricoh Image Height              : 1944
    Ricoh Date                      : 2010:12:28 07:17:04
    Preview Image Start             : 12
    Preview Image Length            : 0
    Flash Mode                      : Off
    Macro                           : On
    Sharpness                       : Normal
    White Balance                   : Auto
    ISO Setting                     : 64
    Saturation                      : Normal
    Ricoh 0x1002                    : 920
    Sharpness                       : Normal
    Ricoh Subdir 0x0001             : 191 152
    Ricoh Subdir 0x0002             : 50331772
    Manufacture Date 1              : 2009:04:14
    Manufacture Date 2              : 2009:03:31
    Ricoh Subdir 0x0006             : 528 0
    Ricoh Subdir 0x0007             : 0 0
    Ricoh Subdir 0x0008             : 52
    Ricoh Subdir 0x0009             : 256
    Ricoh Subdir 0x000a             : 0.07998012916
    Ricoh Subdir 0x000b             : 0.07998012916
    Ricoh Subdir 0x000c             : 7983 131
    Ricoh Subdir 0x000d             : 1024 65486
    Ricoh Subdir 0x000e             : 0
    Ricoh Subdir 0x000f             : 9 61
    Ricoh Subdir 0x0010             : [...]
    Ricoh Subdir 0x0011             : 192 64 192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [...]
    Ricoh Subdir 0x0012             : 64 0 0 0
    Ricoh Subdir 0x0013             : 0 0 0 0
    Ricoh Subdir 0x0014             : 0 0 2 231 1 57 0 164 0 210 0 154 0 235 0 155 0 198 5 0 [...]
    Ricoh Subdir 0x0015             : 255 251
    Ricoh Subdir 0x0016             : 25 0 4 7 0 0 0 0 0 0 0 0 0 128 0 0
    Ricoh Subdir 0x0017             : 2 0 15 15
    Ricoh Subdir 0x0018             : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[...]
    Ricoh Subdir 0x0019             : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[...]
    Ricoh Subdir 0x001a             : 4 136 3 91 4 72 1 6 0 0 0 1 2 10 1 208 1 150 1 92 1 34 [...]
    Ricoh Subdir 0x001c             : 9 154 6 138 13 11 0 0 4 142 0 0 0 0 5 50
    Ricoh Subdir 0x001d             : 
    Ricoh Subdir 0x001e             : 
    Ricoh Subdir 0x001f             : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[...]
    Ricoh Subdir 0x0020             : 
    Ricoh Subdir 0x0021             : 1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2[...]
    Ricoh Subdir 0x0023             : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[...]
    Ricoh Subdir 0x0025             : 285361424
    Ricoh Subdir 0x0026             : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[...]
    Ricoh Subdir 0x0027             : 0
    Ricoh Subdir 0x0028             : 0
    ---- InteropIFD ----
    Interoperability Index          : R98 - DCF basic file (sRGB)
    Interoperability Version        : 0100
    ---- PrintIM ----
    PrintIM Version                 : 0300
    Print IM 0x0001                 : 0x00140014
    Print IM 0x0002                 : 0x01000000
    Print IM 0x0003                 : 0x00000064
    Print IM 0x0007                 : 0x00000000
    Print IM 0x0008                 : 0x00000000
    Print IM 0x0009                 : 0x00000000
    Print IM 0x000a                 : 0x00000000
    Print IM 0x000b                 : 0x000000ac
    Print IM 0x000c                 : 0x00000000
    Print IM 0x000d                 : 0x00000000
    Print IM 0x000e                 : 0x000000c4
    Print IM 0x0100                 : 0x02000000
    Print IM 0x0101                 : 0x01000000
    Print IM 0x0110                 : 0x83000000
    ---- IFD1 ----
    Compression                     : JPEG (old-style)
    X Resolution                    : 72
    Y Resolution                    : 72
    Resolution Unit                 : inches
    Thumbnail Offset                : 14208
    Thumbnail Length                : 5293
    ---- MPF0 ----
    MPF Version                     : 0100
    Number Of Images                : 2
    ---- MPImage1 ----
    MP Image Flags                  : Representative image, Dependent parent image
    MP Image Format                 : JPEG
    MP Image Type                   : Baseline MP Primary Image
    MP Image Length                 : 1061746
    MP Image Start                  : 0
    Dependent Image 1 Entry Number  : 2
    Dependent Image 2 Entry Number  : 0
    ---- MPImage2 ----
    MP Image Flags                  : Dependent child image
    MP Image Format                 : JPEG
    MP Image Type                   : Large Thumbnail (VGA equivalent)
    MP Image Length                 : 87865
    MP Image Start                  : 1061760
    Dependent Image 1 Entry Number  : 0
    Dependent Image 2 Entry Number  : 0
    ---- Composite ----
    Aperture                        : 3.6
    Image Size                      : 2592x1944
    Preview Image                   : (Binary data 87865 bytes, use -b option to extract)
    Shutter Speed                   : 0.5
    Thumbnail Image                 : (Binary data 5293 bytes, use -b option to extract)
    Focal Length                    : 5.7 mm
    Light Value                     : 5.0
    
  • attachment:RIMG6612.JPG
    • exiftool -b -PreviewImage RIMG6612.JPG > RIMG6612.preview.JPG
      exiftool -b -PreviewImage RIMG6612.JPG > RIMG6612.preview.JPG
    • exiftool -b -ThumbnailImage RIMG6612.JPG > RIMG6612.thumb.JPG
      exiftool -b -ThumbnailImage RIMG6612.JPG > RIMG6612.thumb.JPG

Attachments (5)

Download all attachments as: .zip