Menu

#82 bug in EXIF_TAG_ISO_SPEED_RATINGS

closed-fixed
libexif (62)
5
2009-09-10
2008-02-01
Edgard Lima
No

1- EXIF_TAG_ISO_SPEED_RATINGS should be in IFD_EXIF regarding spec 2.2

2- EXIF_TAG_ISO_SPEED_RATINGS can be read and modified but written when exif is created from scratch

BR,
Edgard

Discussion

  • Lutz Müller

    Lutz Müller - 2008-02-01
    • assigned_to: nobody --> lutz
     
  • Lutz Müller

    Lutz Müller - 2008-02-01

    Logged In: YES
    user_id=58652
    Originator: NO

    EXIF_TAG_ISO_SPEED_RATINGS is defined as optional in IFD_EXIF in exif-tag.c. Therefore, I don't understand your point 1. Regarding your second point, I indeed did not find any mention of this tag in exif-entry.c, specifically in the function exif_entry_initialize. Does the specification require a specific format? A specific number of components? A default value? Right now, you can work around the lack of exif_entry_initialize for this tag by creating the entry (i.e. allocating the memory and initializing the values) manually.

     
  • Jan Patera

    Jan Patera - 2008-02-14

    Logged In: YES
    user_id=943941
    Originator: NO

    According to Exif 2.2 spec, there is no default value for EXIF_TAG_ISO_SPEED_RATINGS.
    Furthermore, this tag can have any number of components.
    => I don't see how libexif could initialize such tag.

     
  • Jan Patera

    Jan Patera - 2008-02-14

    Logged In: YES
    user_id=943941
    Originator: NO

    According to Exif 2.2 spec, there is no default value for EXIF_TAG_ISO_SPEED_RATINGS.
    Furthermore, this tag can have any number of components.
    => I don't see how libexif could initialize such tag.

     
  • Edgard Lima

    Edgard Lima - 2008-02-14

    Logged In: YES
    user_id=1997981
    Originator: YES

    Indeed,

    Sorry about my point 1.
    About my point 2 sorry again, I think patera is right:

    ISOSpeedRatings
    Tag = 34855 (8827.H)
    Type = SHORT
    Count = Any
    Default = none

    ...So I would say that ISOSpeedRating is fine and should be initialized manually
    BUT....there is a bug for ColorSpace, Flash (and also all GPS tags which we have to initialize manually)

    ColorSpace
    Tag = 40961 (A001.H)
    Type = SHORT
    Count =1
    1 = sRGB
    FFFF.H = Uncalibrated
    Other = reserved

    Flash
    Tag = 37385 (9209.H)
    Type = SHORT
    Count = 1

     
  • Lutz Müller

    Lutz Müller - 2008-02-14

    Logged In: YES
    user_id=58652
    Originator: NO

    I just added ColorSpace and Flash to CVS. Could you give me the list of GPS tags with their data type, size and default values?

     
  • Dan Fandrich

    Dan Fandrich - 2009-08-26

    This has been fixed by initializing EXIF_TAG_ISO_SPEED_RATINGS with a default value of 0. See also https://sourceforge.net/tracker/?func=detail&aid=2836305&group_id=12272&atid=112272 I don't see how GPS tags could have any sane default values. If someone disagrees, please say something or raise a new bug report.

     
  • Dan Fandrich

    Dan Fandrich - 2009-08-26
    • status: open --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.