Feature #1215

Exif.CanonSi.SubjectDistance seems to be in centimeters

Added by Niccolo Rigacci about 5 years ago. Updated about 5 years ago.

Target version:
Start date:
26 Aug 2016
Due date:
18 Sep 2016
% Done:


Estimated time:
1.00 h


Hi, I have a Canon PowerShot S120

Using exiv2 0.24 (libexiv2-13 0.24) on my Debian box I can read the Exiv metadata. Exif.CanonSi.SubjectDistance is reported without measuring unit, beacuse "units are not clear" (as reported here

I think that unit is centimeters; I shot several photos in manual focus mode, setting approximately the focus on the LCD scalebar. The values registered into the Exif tag are:

zero -> 7
10 cm -> 14
20 cm -> 27
50 cm -> 54
 1 m  -> 102
 2 m  -> 200
 5 m  -> 606
infinity -> 6553

Reasonable values are also indicated for photos taken in auto-focus mode.

Associated revisions

Revision 4511 (diff)
Added by Niels Kristian Bech Jensen about 5 years ago

Fix issue #1215: Exif.CanonSi.SubjectDistance unit.

Revision 4520 (diff)
Added by Robin Mills about 5 years ago

#1215 Update test suite to respect format changes introduced by r4511 (Exif.CanonSi.SubjectDistance)



Updated by Robin Mills about 5 years ago

  • Tracker changed from Bug to Feature
  • Category set to makernote
  • Target version set to 0.28

Thanks for reporting this, Niccolo. We're trying to get to feature complete Exiv2 v0.26 at the moment. I'm going to defer this for v0.27.


Updated by Niels Kristian Bech Jensen about 5 years ago

  • Due date set to 18 Sep 2016
  • Status changed from New to Resolved
  • Assignee set to Niels Kristian Bech Jensen
  • Target version changed from 0.28 to 0.26
  • % Done changed from 0 to 100
  • Estimated time set to 0.00 h

Simple fix. Subject distances are now shown in meters.

Translation templates need to be updated during the release process though.

Best regards,
Niels Kristian Bech Jensen


Updated by Robin Mills about 5 years ago

  • Status changed from Resolved to Closed
  • Estimated time changed from 0.00 h to 1.00 h

Thank You for dealing with this, Niels. I'm going to close this.

Also available in: Atom PDF