ExifTool:强大的图像文件信息查看程序
Posted on 08 Nov 2014 PhotoTools 添加评论
ExifTool真是强大到手软,不管是你想查看图片里的源信息,还是想程序处理照片,ExifTool绝对提供了足够丰富的信息和方便的接口。ExifTool还有Perl的函数库接口,真是强大无极限啊!
ExifTool支持Canon, Casio, FLIR, FujiFilm, GE, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony诸多品牌的RAW文件,能提取包括不限于 EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3的多种信息。ExifTool同时支持Window,Linux和Mac OS X操作系统,也有很多已经开发好的图形界面,比如上面的截图就是其中之一ExifGUI。
同时,由于ExifTool的简单设计,她也有很多其他语言的接口包,包括而不限于C++,AppleScript,C#,VB,.NET,PHP,Python,Rupy,Java等等。对于需要将Exif信息用于自己程序的人ExifTool提供足够优秀的接口。
另外对于使用Lightroom处理图像的用户,ExifTool也有相应的Lightroom下的插件,在此仅推荐一个叫做ExifMeta Lightroom Plugin。 ExifMeta同时又Windows和Mac OSX的版本,可以整合到Lightroom中使用。下面是一个官网上插件的截图:

最后,上一个照片的ExifTool输出的某张照片的信息,可以看到信息相当丰富,甚至包括了相机和镜头的序列号。
| File | |
| FileName | _MG_6048.CR2 |
| Directory | . |
| FileSize | 22 MB |
| FileModifyDate | 2014:08:22 15:16:12+08:00 |
| FileAccessDate | 2014:08:22 18:21:49+08:00 |
| FileCreateDate | 2014:08:22 18:21:49+08:00 |
| FilePermissions | rw-rw-rw- |
| FileType | CR2 |
| MIMEType | image/x-canon-cr2 |
| ExifByteOrder | Little-endian (Intel, II) |
| EXIF | |
| ImageWidth | 5184 |
| ImageHeight | 3456 |
| BitsPerSample | 8 8 8 |
| Compression | JPEG (old-style) |
| Make | Canon |
| Model | Canon EOS 60D |
| PreviewImageStart | 68084 |
| Orientation | Horizontal (normal) |
| PreviewImageLength | 1556026 |
| XResolution | 72 |
| YResolution | 72 |
| ResolutionUnit | inches |
| ModifyDate | 2014:08:22 15:16:07 |
| Artist | |
| Copyright | |
| ExposureTime | 1/10 |
| FNumber | 4.5 |
| ExposureProgram | Aperture-priority AE |
| ISO | 400 |
| SensitivityType | Recommended Exposure Index |
| RecommendedExposureIndex | 400 |
| ExifVersion | 0230 |
| DateTimeOriginal | 2014:08:22 15:16:07 |
| CreateDate | 2014:08:22 15:16:07 |
| ComponentsConfiguration | Y, Cb, Cr, - |
| ShutterSpeedValue | 1/10 |
| ApertureValue | 4.6 |
| ExposureCompensation | 0 |
| MeteringMode | Multi-segment |
| Flash | Off, Did not fire |
| FocalLength | 21.0 mm |
| UserComment | |
| SubSecTime | 15 |
| SubSecTimeOriginal | 15 |
| SubSecTimeDigitized | 15 |
| FlashpixVersion | 0100 |
| ColorSpace | Uncalibrated |
| ExifImageWidth | 5184 |
| ExifImageHeight | 3456 |
| InteropIndex | R98 - DCF basic file (sRGB) |
| InteropVersion | 0100 |
| FocalPlaneXResolution | 5728.176796 |
| FocalPlaneYResolution | 5808.403361 |
| FocalPlaneResolutionUnit | inches |
| CustomRendered | Normal |
| ExposureMode | Auto |
| WhiteBalance | Auto |
| SceneCaptureType | Standard |
| OwnerName | |
| SerialNumber | 1581015011 |
| LensInfo | 18-135mm f/? |
| LensModel | EF-S18-135mm f/3.5-5.6 IS |
| LensSerialNumber | 0000101f9b |
| ThumbnailOffset | 55156 |
| ThumbnailLength | 12928 |
| ImageWidth | 668 |
| ImageHeight | 432 |
| BitsPerSample | 16 16 16 |
| Compression | Uncompressed |
| PhotometricInterpretation | RGB |
| StripOffsets | 1624112 |
| SamplesPerPixel | 3 |
| RowsPerStrip | 432 |
| StripByteCounts | 1731456 |
| PlanarConfiguration | Chunky |
| Compression | JPEG (old-style) |
| StripOffsets | 3360816 |
| StripByteCounts | 20074597 |
| RawImageSegmentation | 2 1728 1888 |
| XMP | |
| Rating | 0 |
| MakerNotes | |
| MacroMode | Normal |
| SelfTimer | Off |
| Quality | RAW |
| CanonFlashMode | Off |
| ContinuousDrive | Single |
| FocusMode | One-shot AF |
| RecordMode | CR2+JPEG |
| CanonImageSize | Small 1 |
| EasyMode | Manual |
| DigitalZoom | None |
| Contrast | Normal |
| Saturation | Normal |
| MeteringMode | Evaluative |
| FocusRange | Not Known |
| CanonExposureMode | Aperture-priority AE |
| LensType | Canon EF-S 18-135mm f/3.5-5.6 IS |
| MaxFocalLength | 135 mm |
| MinFocalLength | 18 mm |
| FocalUnits | 1/mm |
| MaxAperture | 3.6 |
| MinAperture | 23 |
| FlashActivity | 0 |
| FlashBits | (none) |
| ZoomSourceWidth | 0 |
| ZoomTargetWidth | 0 |
| ManualFlashOutput | n/a |
| ColorTone | Normal |
| SRAWQuality | n/a |
| FocalLength | 21 mm |
| AutoISO | 100 |
| BaseISO | 400 |
| MeasuredEV | 5.75 |
| TargetAperture | 4.5 |
| TargetExposureTime | 1/10 |
| ExposureCompensation | 0 |
| WhiteBalance | Auto |
| SlowShutter | None |
| SequenceNumber | 0 |
| OpticalZoomCode | n/a |
| CameraTemperature | 27 C |
| FlashGuideNumber | 0 |
| FlashExposureComp | 0 |
| AutoExposureBracketing | Off |
| AEBBracketValue | 0 |
| ControlMode | n/a |
| FNumber | 4.5 |
| ExposureTime | 1/10 |
| MeasuredEV2 | 5.5 |
| BulbDuration | 0 |
| CameraType | EOS High-end |
| NDFilter | n/a |
| CanonImageType | Canon EOS 60D |
| CanonFirmwareVersion | Firmware Version 1.1.0 |
| OwnerName | |
| SerialNumber | 1581015011 |
| FNumber | 4.6 |
| ExposureTime | 1/10 |
| ISO | 400 |
| CameraTemperature | 27 C |
| FocalLength | 21 mm |
| CameraOrientation | Horizontal (normal) |
| FocusDistanceUpper | 0.94 m |
| FocusDistanceLower | 0.91 m |
| ColorTemperature | 5200 |
| LensType | Canon EF-S 18-135mm f/3.5-5.6 IS |
| MinFocalLength | 18 mm |
| MaxFocalLength | 135 mm |
| FirmwareVersion | 1.1.0 |
| FileIndex | 6048 |
| DirectoryIndex | 101 |
| ContrastStandard | 0 |
| SharpnessStandard | 3 |
| SaturationStandard | 0 |
| ColorToneStandard | 0 |
| ContrastPortrait | 0 |
| SharpnessPortrait | 2 |
| SaturationPortrait | 0 |
| ColorTonePortrait | 0 |
| ContrastLandscape | 0 |
| SharpnessLandscape | 4 |
| SaturationLandscape | 0 |
| ColorToneLandscape | 0 |
| ContrastNeutral | 0 |
| SharpnessNeutral | 0 |
| SaturationNeutral | 0 |
| ColorToneNeutral | 0 |
| ContrastFaithful | 0 |
| SharpnessFaithful | 0 |
| SaturationFaithful | 0 |
| ColorToneFaithful | 0 |
| ContrastMonochrome | 0 |
| SharpnessMonochrome | 3 |
| FilterEffectMonochrome | None |
| ToningEffectMonochrome | None |
| ContrastAuto | 0 |
| SharpnessAuto | 0 |
| SaturationAuto | 0 |
| ColorToneAuto | 0 |
| FilterEffectAuto | None |
| ToningEffectAuto | None |
| ContrastUserDef1 | 0 |
| SharpnessUserDef1 | 3 |
| SaturationUserDef1 | 0 |
| ColorToneUserDef1 | 0 |
| FilterEffectUserDef1 | None |
| ToningEffectUserDef1 | None |
| ContrastUserDef2 | 0 |
| SharpnessUserDef2 | 3 |
| SaturationUserDef2 | 0 |
| ColorToneUserDef2 | 0 |
| FilterEffectUserDef2 | None |
| ToningEffectUserDef2 | None |
| ContrastUserDef3 | 0 |
| SharpnessUserDef3 | 3 |
| SaturationUserDef3 | 0 |
| ColorToneUserDef3 | 0 |
| FilterEffectUserDef3 | None |
| ToningEffectUserDef3 | None |
| UserDef1PictureStyle | Standard |
| UserDef2PictureStyle | Standard |
| UserDef3PictureStyle | Standard |
| CanonModelID | EOS 60D |
| ThumbnailImageValidArea | 0 159 7 112 |
| SerialNumberFormat | Format 2 |
| AFAreaMode | Multi-point AF or AI AF |
| NumAFPoints | 9 |
| ValidAFPoints | 9 |
| CanonImageWidth | 5184 |
| CanonImageHeight | 3456 |
| AFImageWidth | 5184 |
| AFImageHeight | 3456 |
| AFAreaWidths | 108 88 88 88 129 88 88 88 108 |
| AFAreaHeights | 86 107 107 107 131 107 107 107 86 |
| AFAreaXPositions | 0 -860 860 -1368 0 1368 -860 860 0 |
| AFAreaYPositions | 743 393 393 0 0 0 -393 -393 -743 |
| AFPointsInFocus | 3,8 |
| AFPointsSelected | 0,1,2,3,4,5,6,7,8 |
| OriginalDecisionDataOffset | 0 |
| BracketMode | Off |
| BracketValue | 0 |
| BracketShotNumber | 0 |
| RawJpgSize | Large |
| LongExposureNoiseReduction2 | Off |
| WBBracketMode | Off |
| WBBracketValueAB | 0 |
| WBBracketValueGM | 0 |
| LiveViewShooting | Off |
| FocusDistanceUpper | 0.94 m |
| FocusDistanceLower | 0.91 m |
| FlashExposureLock | Off |
| LensModel | EF-S18-135mm f/3.5-5.6 IS |
| InternalSerialNumber | WB0560885 |
| DustRemovalData | (Binary data 1024 bytes) |
| CropLeftMargin | 0 |
| CropRightMargin | 0 |
| CropTopMargin | 0 |
| CropBottomMargin | 0 |
| ExposureLevelIncrements | 1/3 Stop |
| ISOSpeedIncrements | 1/3 Stop |
| ISOExpansion | Off |
| AEBAutoCancel | On |
| AEBSequence | 0,-,+ |
| SafetyShift | Disable |
| FlashSyncSpeedAv | Auto |
| LongExposureNoiseReduction | Off |
| HighISONoiseReduction | Standard |
| HighlightTonePriority | Disable |
| LensDriveNoAF | Focus search on |
| AFPointSelectionMethod | AF point button: Activate AF Sel; Rear dial: Select AF points |
| SuperimposedDisplay | On |
| AFAssistBeam | Emits |
| MirrorLockup | Disable |
| AFAndMeteringButtons | Metering start |
| SetButtonWhenShooting | Normal (disabled) |
| DialDirectionTvAv | Normal |
| FocusingScreen | Ef-A |
| AddOriginalDecisionData | Off |
| AspectRatio | 3:2 |
| CroppedImageWidth | 5184 |
| CroppedImageHeight | 3456 |
| CroppedImageLeft | 0 |
| CroppedImageTop | 0 |
| ToneCurve | Standard |
| Sharpness | 3 |
| SharpnessFrequency | n/a |
| SensorRedLevel | 0 |
| SensorBlueLevel | 0 |
| WhiteBalanceRed | 0 |
| WhiteBalanceBlue | 0 |
| ColorTemperature | 5200 |
| PictureStyle | Standard |
| DigitalGain | 0 |
| WBShiftAB | 0 |
| WBShiftGM | 0 |
| MeasuredRGGB | 463 1024 1024 567 |
| ColorSpace | Adobe RGB |
| VRDOffset | 0 |
| SensorWidth | 5344 |
| SensorHeight | 3516 |
| SensorLeftBorder | 152 |
| SensorTopBorder | 56 |
| SensorRightBorder | 5335 |
| SensorBottomBorder | 3511 |
| BlackMaskLeftBorder | 0 |
| BlackMaskTopBorder | 0 |
| BlackMaskRightBorder | 0 |
| BlackMaskBottomBorder | 0 |
| ColorDataVersion | 9 (60D/1100D) |
| WB_RGGBLevelsAsShot | 2335 1024 1024 1896 |
| ColorTempAsShot | 4873 |
| WB_RGGBLevelsAuto | 2335 1024 1024 1896 |
| ColorTempAuto | 4873 |
| WB_RGGBLevelsMeasured | 2333 1023 1024 1894 |
| ColorTempMeasured | 4873 |
| WB_RGGBLevelsDaylight | 2158 1024 1024 1638 |
| ColorTempDaylight | 5200 |
| WB_RGGBLevelsShade | 2503 1024 1024 1393 |
| ColorTempShade | 7000 |
| WB_RGGBLevelsCloudy | 2325 1024 1024 1507 |
| ColorTempCloudy | 6000 |
| WB_RGGBLevelsTungsten | 1533 1024 1024 2479 |
| ColorTempTungsten | 3200 |
| WB_RGGBLevelsFluorescent | 1942 1024 1024 2300 |
| ColorTempFluorescent | 3807 |
| WB_RGGBLevelsKelvin | 2158 1024 1024 1638 |
| ColorTempKelvin | 5189 |
| WB_RGGBLevelsFlash | 2399 1024 1024 1494 |
| ColorTempFlash | 6231 |
| AverageBlackLevel | 2048 2048 2048 2048 |
| RawMeasuredRGGB | 228938 509706 513241 269493 |
| PerChannelBlackLevel | 2047 2047 2048 2048 |
| NormalWhiteLevel | 14582 |
| SpecularWhiteLevel | 15094 |
| LinearityUpperMargin | 10000 |
| CustomPictureStyleFileName | |
| VignettingCorrVersion | 0 |
| PeripheralLighting | On |
| ChromaticAberrationCorr | Off |
| ChromaticAberrationCorr | Off |
| PeripheralLightingValue | 63 |
| OriginalImageWidth | 5184 |
| OriginalImageHeight | 3456 |
| PeripheralLightingSetting | On |
| AutoLightingOptimizer | Standard |
| LensSerialNumber | 0000101f9b |