Feature #1215

Exif.CanonSi.SubjectDistance seems to be in centimeters

Added by Niccolo Rigacci 11 months ago. Updated 10 months ago.

Status:ClosedStart date:26 Aug 2016
Priority:NormalDue date:18 Sep 2016
Assignee:Niels Kristian Bech Jensen% Done:

100%

Category:makernoteEstimated time:1.00 hour
Target version:0.26

Description

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 http://www.exiv2.org/tags-canon.html).

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
Added by Niels Kristian Bech Jensen 10 months ago

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

Revision 4520
Added by Robin Mills 10 months ago

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

History

#1 Updated by Robin Mills 11 months ago

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

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.

#2 Updated by Niels Kristian Bech Jensen 10 months 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.27 to 0.26
  • % Done changed from 0 to 100
  • Estimated time set to 0.00

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

#3 Updated by Robin Mills 10 months ago

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

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

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux