Skip to content

Show decoded values from exiv2 #16

Closed

Description

@mowgli

Exiv2 can decode lot of EXIF fields. However anything from Advanced view is shown not decoded.

For example Exif.Pentax.LensType is shown as "7 243", but I guess that most people would like to see "smc PENTAX-DA 70mm F2.4 Limited" :-).

Reported by: nijel

Activity

  1. mowgli commented on May 12, 2008

    @mowgli
    ContributorAuthor

    Logged In: YES
    user_id=2049043
    Originator: NO

    Obviously, this is a must have feature before next release.
    I boosted its priority to maximum level.

    In the "normal" exif view, "Metering Mode", "Exposure Program" and more
    are displayed as numbers (it's a regression, they appear as text when
    compiled --without-exiv2).

    Original comment by: zas_

  2. mowgli commented on May 12, 2008

    @mowgli
    ContributorAuthor
    • priority: 5 --> 9

    Original comment by: zas_

  3. mowgli commented on May 13, 2008

    @mowgli
    ContributorAuthor

    Logged In: YES
    user_id=1986130
    Originator: NO

    This will be fixed with the new Exiv2 release. Exiv2 0.16 and earlier does not have any method for formatted output in Metadatum class.
    It is fixed in Exiv2 svn. IMHO a workaround for older versions is not worth the effort.

    Original comment by: nadvornik

  4. mowgli commented on May 15, 2008

    @mowgli
    ContributorAuthor

    Logged In: YES
    user_id=192186
    Originator: YES

    I don't know what workaround you mean, but PyExiv2 currently uses following code to get formatted output:

    Exiv2::Exifdatum exifDatum = _exifData[key];
    std::ostringstream buffer;
    buffer << exifDatum;
    return buffer.str();

    It's not really straightforward, but also not much complicated...

    Original comment by: nijel

  5. mowgli commented on May 15, 2008

    @mowgli
    ContributorAuthor

    Logged In: YES
    user_id=1986130
    Originator: NO

    I am using Exiv2::Metadatum (base class for Exiv2::Exifdatum, Exiv2::Iptcdatum and Exiv2::Xmpdatum) in the wraper and the << operator
    does not work with that because it is not virtual.

    Original comment by: nadvornik

  6. mowgli commented on May 16, 2008

    @mowgli
    ContributorAuthor
    • status: open --> closed

    Original comment by: nadvornik

  7. mowgli commented on May 16, 2008

    @mowgli
    ContributorAuthor

    Logged In: YES
    user_id=1986130
    Originator: NO

    I have found a workaround. Let's hope that it works everywhere.
    Please test revision 771.

    Original comment by: nadvornik

  8. self-assigned this
    on Apr 6, 2016
  9. removed their assignment
    on Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions