EXIF question.

Discussion in 'Nikon' started by mike_halliwell, Oct 22, 2014.

  1. When I mount my Sigma 17-70mm 2.8/4 OS on my D5300 and take a shot, the EXIF data records among the usual stuff....
    Subject Distance Range. I find this handy for subsequent analysis to see the DoF at the Aperture I used at that focused distance. Inputting accurate distance info into a DoF calculator is important to a get a reliable result.
    However, when I mount my trusty Nikon 70-200mm VRII on the same camera with the same card etc etc... it comes up as Subject Distance Range...UNKNOWN. What gives?
    Ever since lenses went past the D designation, I kinda assumed it would record it. So before I put another, different lens on the camera, is there anything I should know about lenses and EXIF?
    I'm using Infanview 4.37 on Window 7 64
  2. EXIF reports in Irfanview when following lenses fitted to a D800.
    14-24mm AF-S G Zoom Nikkor: SubjectDistanceRange Unknown
    70-200mm AF-S VRII Zoom Nikkor: SubjectDistanceRange Unknown
    Tamron SP 28-75mm f/2.8 - 'G' version: SubjectDistanceRange Unknown
    Tamron SP 70-300mm VC: SubjectDistanceRange Unknown
    Tamron SP 70-200mm VC: SubjectDistanceRange Unknown
    Tamron SP 90mm f/2.8 AF macro: SubjectDistanceRange Unknown
    Assorted other AF lenses tried from Tokina and Sigma: SubjectDistanceRange Unknown
    In fact I don't recall ever seeing any distance information revealed in the EXIF data shewn by Irfanview, Mike.
    I'm a bit curious why you want to know this after the fact anyway. Surely the time to be considering DoF is before the picture is taken? Not that depth-of-field calculations count for much on a pixel-peeping scale, because in reality there's no such thing as DoF. It's either in focus or it aint.
  3. In fact I don't recall ever seeing any distance information revealed in the EXIF data shewn by Irfanview, Mike.​
    RJ, that's EXACTLY why I wrote this post, 'cos I've now seen it! I'll take a screen shot when I'm on my big machine next. I'm interested that it reports it with the 'new' Sigma but not the 'older' Nikon. I'll have to go and try my Sigma 35mm 1.4 A on my D5300....and my D700,
    It's primarily for the horse action shoots I go on where I may be running from fence to fence and when in dim light I'm pushing the ISO up and the aperture down in an effort to keep the shutter speed up!
    For critical analysis in post, it's more of a what-went-wrong tool! Imagine being at about 60 degrees off-axis to a 20ft wide fence, standing about 20 ft away and you're up to ISO 3200 and f4 to try to get 1/1000 to freeze Neddy's feet. Pic looks OK on LCD at the time but some are a hint soft....you might get the red box to show where theoretically it was focused, but I get a few with the box showing over a fuzzy horse!
    Agreed, DoF is an illusion, but seeing that the camera was focused at 15ft rather than 22ft is helpful when the apparent DoF is only a couple of ft! Even on centre point AF and smooth panning, there are a lot of distracting, contrasty things that can come between me and the horse.... arty vegetational additions to jumps are a pain....old Christmas trees are a favourite.
  4. No idea what that "Subject Distance Range" is, but the EXIF entry for the focus distance is labeled "Focus Distance"...
  5. Andreas, what label a field is given depends on the specific EXIF reader. EXIF metadata has binary headers for its various fields - not plain English names. So how the field header appears when written out in full depends on what was programmed into the EXIF reader. For example the Aperture field label could just as easily be programmed to read: "Size of Hole in Lens Number thingy", or Shutter Speed as "Time what the picture was exposed for".
    Besides, having a simple universal header code makes it very easy to translate EXIF metadata into languages other than English.
  6. Time for a better EXIF reader Mike. I just used an online EXIF reader (against my better judgement mind you) and it revealed loads more info than the one in Irfanview. That included the approximate focused distance, depth-of-field and Hyperfocal Distance for the lens and aperture in use.
    I also downloaded another EXIF reader that showed even less useful information than the one in Irfanview. Why this should be I don't know, although there appear to be many, many OEM fields particular to Nikon.
    Surely somewhere out there is a free EXIF reader that accurately shows all the information? Without having to upload your image to some perhaps dodgy site.
  7. Yup, just tried this..
    ..and tried a measured shot, 1.80m from my D5300 + Sigma 17-70mm to my flatbed scanner label (don't ask!) and it reported as 1.80m. Oddly it didn't like a horse shot from last weekend with my D700 + 70-200mm??
    Surely somewhere out there is a free EXIF reader that accurately shows all the information? Without having to upload your image to some perhaps dodgy site.​
    Maybe Nikon should make one? Only kiddin'......:)
  8. Mike. Try the free Kuso EXIF viewer. This actually displays a field it calls FocusDistance, although Focus Distance Range remains unknown. However, the distance information seems quite spurious. It seems reasonably accurate up to a couple of metres, but then reports a distance of several kilometres when beyond 10 metres or so. Guessing by looking at the picture is far more accurate IME!
    It does recognise what lens was fitted and gives its zoom range and aperture, rather than some meaningless lens number like Irfanview does.
  9. Does anyone have a link for Kuso EXIF viewer that does not load a bunch of other stuff? I can't seem to find any live link that does not attempt to instal some extra installer, file utility, or something else along with it.
  10. Please ignore above. A bit of navigation through Softpedia got it cleanly in without anything else.
    It works nicely, by the way, though I have not yet figured out how accurate its distance information really is.
  11. I use Preview from OS X 10.6.8 which, for a D200 with Nikkor AF 35-70 gives:
    Color Space: sRGB
    Compressed Bits Per Pixel: 4
    Contrast: Normal
    Custom Rendered: Normal process
    Date Time Digitized: 2013:09:22 03:21:57
    Date Time Original: 2013:09:22 03:21:57
    Digital Zoom Ratio: 1
    Exif Version: 2.2.1
    Exposure Bias Value: 0
    Exposure Mode: Auto exposure
    Exposure Program: Normal program
    Exposure Time: 1 / 20
    Flash: Flash did not fire
    FlashPix Version: 1.0
    FNumber: 4.5
    Focal Length: 70
    Focal Length In 35mm Film: 105
    Gain Control: High gain up
    ISO Speed Ratings: 3200
    Light Source: unknown
    Max Aperture Value: 4.3
    Metering Mode: Spot
    Pixel X Dimension: 3872
    Pixel Y Dimension: 2592
    Saturation: Normal
    Scene Capture Type: Standard
    Sensing Method: One-chip color area sensor
    Sharpness: Normal
    Subject Distance Range: unknown
    Sub-second Time: 08
    Sub-second Time Digitized: 08
    Sub-second Time Original: 08
    User Comment:
    White Balance: Auto white balance
    AFInfo: 0.4691358, 0.4653846, 0.0617284, 0.06923077, F, 0.4717078, 0.6923077, 0.05658436, 0.04615385, n, 0.4717078, 0.2615385, 0.05658436, 0.04615385, n, 0.3106996, 0.4576923, 0.0308642, 0.08461539, n, 0.6584362, 0.4576923, 0.0308642, 0.08461539, n, 0.3106996, 0.5807692, 0.0308642, 0.08461539, n, 0.6584362, 0.5807692, 0.0308642, 0.08461539, n, 0.3106996, 0.3346154, 0.0308642, 0.08461539, n, 0.6584362, 0.3346154, 0.0308642, 0.08461539, n, 0.191358, 0.4576923, 0.0308642, 0.08461539, n, 0.7777778, 0.4576923, 0.0308642, 0.08461539, n
    Flash Compensation: 0
    Focus Distance: 0.01496236
    Focus Mode: 1
    Image Number: 18528
    Lens ID: 2108322738198548992
    Lens Info: 35, 70, 3.3, 4.5
    Lens Model: AF Zoom-Nikkor 35-70mm f/3.3-4.5 N
  12. Kuso's distance information does not appear to be very accurate, with a test of a couple of G zooms at min and max focal length from a set distance of a little over 3 meters at a flat space yielding four different measurements from a bit long to nearly a meter short, but at least in the little test I did it was in the ballpark. A second test came out closer, and three shots taken with all settings the same, with the camera moved between shots, all agreed, so it does not seem to be completely guessing.
    Except for the distance info, Irfanview seems pretty complete, but Kuso is pretty convenient.
  13. Thanks for all the replies!
    I'm curious about the 'wrongness' of the data displayed?
    If that info is being generated from, or used by, the focus mechanism, it kinda implies it's not in focus...doesn't it?
    Rotary or linear encoders are usually a lot more precise than this would seem to show.
    If I'm feeling really keen, I might do a couple of LV AF v VF AF comparisons to see if this makes any difference to the recorded data....afterall we all 'know' LV AF is more accurate.
  14. Time for a better Exif tool was the exact right answer. Nikon modifies their Exif format (the Manufacturers data part, where the good stuff is), and most of the existing Exif tools are years too old.
    The best (and frequently updated one) is Exiftool. I see mine (a few months old) is five versions out of date now. :)
    This is a command line tool. However, towards that page bottom, section Related Utilities, is ExifToolGUI
    Put it in the same folder, start it, and it becomes wonderful in Windows.
    It shows this for a D800 (almost more than is imaginable)
    Including subject distance, however Nikon zoom lens subject distance is frequently wrong, causing D-lens errors for TTL BL direct flash ( http://www.scantips.com/lights/ttlbl-d.html ) We need a menu to turn that stuff off. :)
    ---- ExifTool ----
    ExifTool Version Number : 9.69
    ---- File ----
    File Name : DSF_4611.JPG
    Directory : .
    File Size : 2.8 MB
    File Modification Date/Time : 2014:10:19 15:29:44-05:00
    File Access Date/Time : 2014:10:19 16:26:44-05:00
    File Creation Date/Time : 2014:10:19 16:26:44-05:00
    File Permissions : rw-rw-rw-
    File Type : JPEG
    MIME Type : image/jpeg
    Exif Byte Order : Big-endian (Motorola, MM)
    Image Width : 4288
    Image Height : 2848
    Encoding Process : Baseline DCT, Huffman coding
    Bits Per Sample : 8
    Color Components : 3
    Y Cb Cr Sub Sampling : YCbCr4:2:2 (2 1)
    ---- EXIF ----
    Camera Model Name : NIKON D300
    Orientation : Horizontal (normal)
    X Resolution : 300
    Y Resolution : 300
    Resolution Unit : inches
    Software : Ver.1.10
    Modify Date : 2014:10:19 15:29:43
    Artist : WAYNE FULTON
    Y Cb Cr Positioning : Co-sited
    Copyright : 2014
    Exposure Time : 0.6
    F Number : 4.8
    Exposure Program : Aperture-priority AE
    ISO : 200
    Exif Version : 0221
    Date/Time Original : 2014:10:19 15:29:43
    Create Date : 2014:10:19 15:29:43
    Components Configuration : Y, Cb, Cr, -
    Compressed Bits Per Pixel : 4
    Exposure Compensation : 0
    Max Aperture Value : 4.8
    Metering Mode : Center-weighted average
    Light Source : Unknown
    Flash : No Flash
    Focal Length : 42.0 mm
    User Comment : C2012 WAYNE FULTON 1-972-517-9558
    Sub Sec Time : 60
    Sub Sec Time Original : 60
    Sub Sec Time Digitized : 60
    Flashpix Version : 0100
    Color Space : sRGB
    Exif Image Width : 4288
    Exif Image Height : 2848
    Interoperability Index : R98 - DCF basic file (sRGB)
    Interoperability Version : 0100
    Sensing Method : One-chip color area
    File Source : Digital Camera
    Scene Type : Directly photographed
    CFA Pattern : [Red,Green][Green,Blue]
    Custom Rendered : Normal
    Exposure Mode : Auto
    White Balance : Auto
    Digital Zoom Ratio : 1
    Focal Length In 35mm Format : 63 mm
    Scene Capture Type : Standard
    Gain Control : None
    Contrast : Normal
    Saturation : Normal
    Sharpness : Normal
    Subject Distance Range : Unknown
    GPS Version ID :
    Compression : JPEG (old-style)
    X Resolution : 300
    Y Resolution : 300
    Resolution Unit : inches
    Thumbnail Offset : 36540
    Thumbnail Length : 11417
    Y Cb Cr Positioning : Co-sited
    ---- MakerNotes ----
    Maker Note Version : 2.10
    ISO : 200
    Quality : Fine
    White Balance : Auto
    Focus Mode : AF-C
    Flash Setting : Normal
    Flash Type :
    White Balance Fine Tune : -6 0
    WB RB Levels : 1.82421875 1.23046875 1 1
    Program Shift : 0
    Exposure Difference : 0
    Compression : JPEG (old-style)
    X Resolution : 300
    Y Resolution : 300
    Resolution Unit : inches
    Preview Image Start : 9128
    Preview Image Length : 27251
    Y Cb Cr Positioning : Co-sited
    Flash Exposure Compensation : 0
    ISO Setting : 200
    Image Boundary : 0 0 4288 2848
    External Flash Exposure Comp : 0
    Flash Exposure Bracket Value : 0.0
    Exposure Bracket Value : 0
    Crop Hi Speed : Off (4352x2868 cropped to 4352x2868 at pixel 0,0)
    Exposure Tuning : 0
    Serial Number : 3018352
    Color Space : sRGB
    VR Info Version : 0100
    Vibration Reduction : On
    VR Mode : Normal
    Image Authentication : Off
    Active D-Lighting : Off
    Picture Control Version : 0100
    Picture Control Name : Standard
    Picture Control Base : Standard
    Picture Control Adjust : Default Settings
    Picture Control Quick Adjust : Normal
    Sharpness : 3
    Contrast : Normal
    Brightness : Normal
    Saturation : Normal
    Hue Adjustment : None
    Filter Effect : n/a
    Toning Effect : n/a
    Toning Saturation : n/a
    Timezone : -06:00
    Daylight Savings : Yes
    Date Display Format : Y/M/D
    ISO : 200
    ISO Expansion : Off
    ISO2 : 200
    ISO Expansion 2 : Off
    Lens Type : G VR
    Lens : 16-85mm f/3.5-5.6
    Flash Mode : Did Not Fire
    Shooting Mode : Single-Frame
    Lens F Stops : 5.33
    Shot Info Version : 0210
    Firmware Version : 1.10B
    ISO2 : 200
    Shutter Count : 34723
    AF Fine Tune Adj : 0
    Custom Settings Bank : A
    Custom Settings All Default : No
    AF-C Priority Selection : Focus
    AF-S Priority Selection : Focus
    AF Point Selection : 11 Points
    Dynamic AF Area : 21 Points
    Focus Tracking Lock On : Short
    AF Activation : Shutter/AF-On
    Focus Point Wrap : No Wrap
    AF Point Illumination : Auto
    AF Assist : Off
    AF-On For MB-D10 : AF-On
    ISO Step Size : 1/3 EV
    Exposure Control Step Size : 1/3 EV
    Exposure Comp Step Size : 1/3 EV
    Easy Exposure Compensation : Off
    Center Weighted Area Size : 8 mm
    Fine Tune Opt Center Weighted : 0
    Fine Tune Opt Matrix Metering : 0
    Fine Tune Opt Spot Metering : 0
    Multi Selector Shoot Mode : Select Center Focus Point
    Multi Selector Playback Mode : Thumbnail On/Off
    Initial Zoom Setting : Low Magnification
    Multi Selector : Do Nothing
    Exposure Delay Mode : Off
    CL Mode Shooting Speed : 4 fps
    Max Continuous Release : 100
    Reverse Indicators : + 0 -
    File Number Sequence : On
    Battery Order : Camera Battery First
    MB-D10 Batteries : LR6 (AA alkaline)
    Beep : Low
    Shooting Info Display : Auto
    Grid Display : On
    Viewfinder Warning : On
    Func Button : FV Lock
    Func Button Plus Dials : None
    Preview Button : Preview
    Preview Button Plus Dials : None
    AE Lock Button : AE/AF Lock
    AE Lock Button Plus Dials : None
    Command Dials Reverse Rotation : No
    Command Dials Change Main Sub : Off
    Command Dials Aperture Setting : Sub-command Dial
    Command Dials Menu And Playback : Off
    LCD Illumination : Off
    Photo Info Playback : Info Up-down, Playback Left-right
    Shutter Release Button AE-L : On
    Release Button To Use Dial : No
    Self Timer Time : 2 s
    Monitor Off Time : 10 s
    Flash Sync Speed : 1/250 s
    Flash Shutter Speed : 1/60 s
    Auto Bracket Set : AE & Flash
    Auto Bracket Mode M : Flash/Speed
    Auto Bracket Order : 0,-,+
    Modeling Flash : Off
    No Memory Card : Release Locked
    Metering Time : 6 s
    Internal Flash : TTL
    Noise Reduction : Off
    WB GRBG Levels : 256 467 315 256
    Lens Data Version : 0203
    Exit Pupil Position : 107.8 mm
    AF Aperture : 4.9
    Focus Position : 0x22
    Focus Distance : 1.68 m
    Focal Length : 42.4 mm
    Lens ID Number : 153
    Lens F Stops : 5.33
    Min Focal Length : 16.3 mm
    Max Focal Length : 84.8 mm
    Max Aperture At Min Focal : 3.6
    Max Aperture At Max Focal : 5.7
    MCU Version : 155
    Effective Max Aperture : 4.9
    Retouch History : None
    Image Data Size : 2904507
    Shutter Count : 34723
    Flash Info Version : 0103
    Flash Source : None
    External Flash Firmware : n/a
    External Flash Flags : (none)
    Flash Commander Mode : Off
    Flash Control Mode : Off
    Flash Compensation : 0
    Flash GN Distance : 0
    Flash Color Filter : None
    Flash Group A Control Mode : Off
    Flash Group B Control Mode : Off
    Flash Group C Control Mode : Off
    Flash Group A Compensation : 0
    Flash Group B Compensation : 0
    Flash Group C Compensation : 0
    Multi Exposure Version : 0100
    Multi Exposure Mode : Off
    Multi Exposure Shots : 0
    Multi Exposure Auto Gain : Off
    High ISO Noise Reduction : Off
    Power Up Time : 2014:10:19 15:29:20
    AF Info 2 Version : 0100
    Contrast Detect AF : Off
    AF Area Mode : Dynamic Area (21 points)
    Phase Detect AF : On (51-point)
    Primary AF Point : E4
    AF Points Used : E4
    Contrast Detect AF In Focus : No
    File Info Version : 0100
    Directory Number : 101
    File Number : 4611
    AF Fine Tune : Off
    AF Fine Tune Index : n/a
    AF Fine Tune Adj : 0
    ---- Composite ----
    Aperture : 4.8
    Auto Focus : On
    Blue Balance : 1.230469
    Image Size : 4288x2848
    Lens ID : AF-S DX VR Zoom-Nikkor 16-85mm f/3.5-5.6G ED
    Lens : 16-85mm f/3.5-5.6 G VR
    Preview Image : (Binary data 27251 bytes, use -b option to extract)
    Red Balance : 1.824219
    Scale Factor To 35 mm Equivalent: 1.5
    Shutter Speed : 0.6
    Create Date : 2014:10:19 15:29:43.60
    Date/Time Original : 2014:10:19 15:29:43.60
    Modify Date : 2014:10:19 15:29:43.60
    Thumbnail Image : (Binary data 11417 bytes, use -b option to extract)
    Circle Of Confusion : 0.020 mm
    Depth Of Field : 0.30 m (1.54 - 1.84)
    Field Of View : 31.1 deg (0.94 m)
    Focal Length : 42.0 mm (35 mm equivalent: 63.0 mm)
    Hyperfocal Distance : 18.35 m
    Light Value : 4.2
  15. It shows this for a D800 (almost more than is imaginable)​
    Wayne, I hope you mean D300.....:)
    ..and somewhere near the bottom is..
    Subject Distance Range : Unknown​
    and then, a bit further on .......
    Focus Position : 0x22
    Focus Distance : 1.68 m​
    I guess it's all in there somewhere!
  16. Oops! :) Yes, I have both, and grabbed the wrong one. D300 is old enough that many other Exif tools can get it right enough too.
    D800, not so, we need an Exif tool that gets updated.
    And yes, Focus Distance is in there. However, Nikon Focus Distance for zoom lenses can be pretty wrong.
    I don't know what Subject Distance Range means?
  17. For RJ!.
    Infanview Distance Info...
    I un-intentionally misread the text Re:- my first post...
    ...Subject Distance Range is UNKNOWN, but
    As you can see this is the mid portion of the ream of info it gives....but it just lets me show both Distance references!
  18. Late edit.
    However, there's some setting somewhere in camera, that seems to determine whether it shows or not......same camera with same lens a few days later and there's nothing there, Subject Distance isn't even on the list!!
    ....it might be AF-C or AF-S, it might be LV AF or VF AF, or Monday but not Tuesday.....! I'll have to do a bunch of tests and find out what it is.
  19. Mike, if you subsequently "Save" the image with Adobe later, it strips off many of the Exif entries. You will want to look in your original file, out of the camera.
    Adobe Bridge (file manager part of Photoshop) has a preferences menu you can specify more to be omitted (many default to omit). But Adobe never saves the Manufacturer Notes section (Makers Notes).

    My previous Exif list above has 277 entries. Simply opening and saving that file in Photoshop results in only 192 entries of Exif (as seen by ExifTool - Photoshop reports far fewer).
    (Save For Web strips 100% of them, except maybe Copyright)

Share This Page