Skip to content

Commit

Permalink
Merge 510de53 into f21f053
Browse files Browse the repository at this point in the history
  • Loading branch information
spluyyyt committed Mar 8, 2021
2 parents f21f053 + 510de53 commit 77826f4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libexif/exif-entry.c
Expand Up @@ -778,6 +778,16 @@ static const struct {
{8, {N_("Landscape mode (for landscape photos with the background "
"in focus)"), N_("Landscape"), NULL}},
{0, {NULL}}}},
{ EXIF_TAG_SENSITIVITY_TYPE,
{ {0, {N_("Unknown"), NULL}},
{1, {N_("Standard output sensitivity (SOS)"), NULL}},
{2, {N_("Recommended exposure index (REI)"), NULL}},
{3, {N_("ISO speed"), NULL}},
{4, {N_("Standard output sensitivity (SOS) and recommended exposure index (REI)"), NULL}},
{5, {N_("Standard output sensitivity (SOS) and ISO speed"), NULL}},
{6, {N_("Recommended exposure index (REI) and ISO speed"), NULL}},
{7, {N_("Standard output sensitivity (SOS) and recommended exposure index (REI) and ISO speed"), NULL}},
{0, {NULL}}}},
{ EXIF_TAG_FLASH,
{ {0x0000, {N_("Flash did not fire"), N_("No flash"), NULL}},
{0x0001, {N_("Flash fired"), N_("Flash"), N_("Yes"), NULL}},
Expand Down Expand Up @@ -1295,6 +1305,7 @@ exif_entry_get_value (ExifEntry *e, char *val, unsigned int maxlen)
case EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT:
case EXIF_TAG_RESOLUTION_UNIT:
case EXIF_TAG_EXPOSURE_PROGRAM:
case EXIF_TAG_SENSITIVITY_TYPE:
case EXIF_TAG_FLASH:
case EXIF_TAG_SUBJECT_DISTANCE_RANGE:
case EXIF_TAG_COLOR_SPACE:
Expand Down Expand Up @@ -1450,6 +1461,7 @@ exif_entry_initialize (ExifEntry *e, ExifTag tag)
case EXIF_TAG_SUBJECT_DISTANCE_RANGE:
case EXIF_TAG_FLASH:
case EXIF_TAG_ISO_SPEED_RATINGS:
case EXIF_TAG_SENSITIVITY_TYPE:

/* SHORT, 1 component, default 0 */
case EXIF_TAG_IMAGE_WIDTH:
Expand Down
7 changes: 7 additions & 0 deletions libexif/exif-tag.c
Expand Up @@ -524,6 +524,13 @@ static const struct TagEntry {
{EXIF_TAG_TIME_ZONE_OFFSET, "TimeZoneOffset", N_("Time Zone Offset"),
N_("Encodes time zone of camera clock relative to GMT."),
ESL_UNKNOWN},
{EXIF_TAG_SENSITIVITY_TYPE, "SensitivityType", N_("Sensitivity Type"),
N_("The SensitivityType tag indicates which one of the parameters of "
"ISO12232 is the PhotographicSensitivity tag. Although it is an optional "
"tag, it should be recorded when a PhotographicSensitivity tag is recorded. "
"Value = 4, 5, 6, or 7 may be used in case that the values of plural parameters "
"are the same."),
{ ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } },
{EXIF_TAG_EXIF_VERSION, "ExifVersion", N_("Exif Version"),
N_("The version of this standard supported. Nonexistence of this "
"field is taken to mean nonconformance to the standard."),
Expand Down
1 change: 1 addition & 0 deletions libexif/exif-tag.h
Expand Up @@ -90,6 +90,7 @@ typedef enum {
EXIF_TAG_ISO_SPEED_RATINGS = 0x8827,
EXIF_TAG_OECF = 0x8828,
EXIF_TAG_TIME_ZONE_OFFSET = 0x882a,
EXIF_TAG_SENSITIVITY_TYPE = 0x8830,
EXIF_TAG_EXIF_VERSION = 0x9000,
EXIF_TAG_DATE_TIME_ORIGINAL = 0x9003,
EXIF_TAG_DATE_TIME_DIGITIZED = 0x9004,
Expand Down

0 comments on commit 77826f4

Please sign in to comment.