Handle "unknown" value in BrightnessValue.

This commit is contained in:
KAMADA Ken'ichi 2020-02-13 21:06:27 +09:00
parent 79cc94f615
commit 22395fca25
1 changed files with 2 additions and 1 deletions

View File

@ -419,7 +419,7 @@ generate_well_known_tag_constants!(
(ApertureValue, 0x9202, DefaultValue::None, d_decimal, (ApertureValue, 0x9202, DefaultValue::None, d_decimal,
unit!["EV"], unit!["EV"],
"Aperture"), "Aperture"),
(BrightnessValue, 0x9203, DefaultValue::None, d_decimal, (BrightnessValue, 0x9203, DefaultValue::None, d_optdecimal,
unit!["EV"], unit!["EV"],
"Brightness"), "Brightness"),
(ExposureBiasValue, 0x9204, DefaultValue::None, d_decimal, (ExposureBiasValue, 0x9204, DefaultValue::None, d_decimal,
@ -1006,6 +1006,7 @@ fn d_subjarea(w: &mut dyn fmt::Write, value: &Value) -> fmt::Result {
} }
// Rational/SRational with 0xffffffff being unknown. // Rational/SRational with 0xffffffff being unknown.
// BrightnessValue (Exif 0x9203),
// Temperature (Exif 0x9400), Humidity (Exif 0x9401), // Temperature (Exif 0x9400), Humidity (Exif 0x9401),
// Pressure (Exif 0x9402), WaterDepth (Exif 0x9403), // Pressure (Exif 0x9402), WaterDepth (Exif 0x9403),
// Acceleration (Exif 0x9404), CameraElevationAngle (Exif 0x9405) // Acceleration (Exif 0x9404), CameraElevationAngle (Exif 0x9405)