#[repr(u32)]pub enum ExifTag {
Show 102 variants
UnknownToMe = 65_535,
ImageDescription = 270,
Make = 271,
Model = 272,
Orientation = 274,
XResolution = 282,
YResolution = 283,
ResolutionUnit = 296,
Software = 305,
DateTime = 306,
HostComputer = 316,
WhitePoint = 318,
PrimaryChromaticities = 319,
YCbCrCoefficients = 529,
ReferenceBlackWhite = 532,
Copyright = 33_432,
ExifOffset = 34_665,
GPSOffset = 34_853,
ExposureTime = 33_434,
FNumber = 33_437,
ExposureProgram = 34_850,
SpectralSensitivity = 34_852,
ISOSpeedRatings = 34_855,
OECF = 34_856,
SensitivityType = 34_864,
ExifVersion = 36_864,
DateTimeOriginal = 36_867,
DateTimeDigitized = 36_868,
ShutterSpeedValue = 37_377,
ApertureValue = 37_378,
BrightnessValue = 37_379,
ExposureBiasValue = 37_380,
MaxApertureValue = 37_381,
SubjectDistance = 37_382,
MeteringMode = 37_383,
LightSource = 37_384,
Flash = 37_385,
FocalLength = 37_386,
SubjectArea = 37_396,
MakerNote = 37_500,
UserComment = 37_510,
FlashPixVersion = 40_960,
ColorSpace = 40_961,
RelatedSoundFile = 40_964,
FlashEnergy = 41_483,
FocalPlaneXResolution = 41_486,
FocalPlaneYResolution = 41_487,
FocalPlaneResolutionUnit = 41_488,
SubjectLocation = 41_492,
ExposureIndex = 41_493,
SensingMethod = 41_495,
FileSource = 41_728,
SceneType = 41_729,
CFAPattern = 41_730,
CustomRendered = 41_985,
ExposureMode = 41_986,
WhiteBalanceMode = 41_987,
DigitalZoomRatio = 41_988,
FocalLengthIn35mmFilm = 41_989,
SceneCaptureType = 41_990,
GainControl = 41_991,
Contrast = 41_992,
Saturation = 41_993,
Sharpness = 41_994,
DeviceSettingDescription = 41_995,
SubjectDistanceRange = 41_996,
ImageUniqueID = 42_016,
LensSpecification = 42_034,
LensMake = 42_035,
LensModel = 42_036,
Gamma = 42_240,
GPSVersionID = 0,
GPSLatitudeRef = 1,
GPSLatitude = 2,
GPSLongitudeRef = 3,
GPSLongitude = 4,
GPSAltitudeRef = 5,
GPSAltitude = 6,
GPSTimeStamp = 7,
GPSSatellites = 8,
GPSStatus = 9,
GPSMeasureMode = 10,
GPSDOP = 11,
GPSSpeedRef = 12,
GPSSpeed = 13,
GPSTrackRef = 14,
GPSTrack = 15,
GPSImgDirectionRef = 16,
GPSImgDirection = 17,
GPSMapDatum = 18,
GPSDestLatitudeRef = 19,
GPSDestLatitude = 20,
GPSDestLongitudeRef = 21,
GPSDestLongitude = 22,
GPSDestBearingRef = 23,
GPSDestBearing = 24,
GPSDestDistanceRef = 25,
GPSDestDistance = 26,
GPSProcessingMethod = 27,
GPSAreaInformation = 28,
GPSDateStamp = 29,
GPSDifferential = 30,
}
Expand description
Enumeration that represents recognized EXIF tags found in TIFF IFDs.
Items can be cast to u32 in order to get the namespace (most significant word) and tag code (least significant word). The tag code matches the Exif, or the Makernote standard, depending on the namespace that the tag belongs to.
On the other hand, the namespace code is arbitrary, it only matches
the Namespace
enumeration. The namespace is 0 for standard Exif tags.
The non-standard namespaces exist to accomodate future parsing of the
MarkerNote
tag, that contains embedded manufacturer-specific tags.
Variants§
UnknownToMe = 65_535
Tag not recognized are partially parsed. The client may still try to interpret
the tag by reading into the IfdFormat
structure.
ImageDescription = 270
Make = 271
Model = 272
Orientation = 274
XResolution = 282
YResolution = 283
ResolutionUnit = 296
Software = 305
DateTime = 306
HostComputer = 316
WhitePoint = 318
PrimaryChromaticities = 319
YCbCrCoefficients = 529
ReferenceBlackWhite = 532
Copyright = 33_432
ExifOffset = 34_665
GPSOffset = 34_853
ExposureTime = 33_434
FNumber = 33_437
ExposureProgram = 34_850
SpectralSensitivity = 34_852
ISOSpeedRatings = 34_855
OECF = 34_856
SensitivityType = 34_864
ExifVersion = 36_864
DateTimeOriginal = 36_867
DateTimeDigitized = 36_868
ShutterSpeedValue = 37_377
ApertureValue = 37_378
BrightnessValue = 37_379
ExposureBiasValue = 37_380
MaxApertureValue = 37_381
SubjectDistance = 37_382
MeteringMode = 37_383
LightSource = 37_384
Flash = 37_385
FocalLength = 37_386
SubjectArea = 37_396
MakerNote = 37_500
UserComment = 37_510
FlashPixVersion = 40_960
ColorSpace = 40_961
RelatedSoundFile = 40_964
FlashEnergy = 41_483
FocalPlaneXResolution = 41_486
FocalPlaneYResolution = 41_487
FocalPlaneResolutionUnit = 41_488
SubjectLocation = 41_492
ExposureIndex = 41_493
SensingMethod = 41_495
FileSource = 41_728
SceneType = 41_729
CFAPattern = 41_730
CustomRendered = 41_985
ExposureMode = 41_986
WhiteBalanceMode = 41_987
DigitalZoomRatio = 41_988
FocalLengthIn35mmFilm = 41_989
SceneCaptureType = 41_990
GainControl = 41_991
Contrast = 41_992
Saturation = 41_993
Sharpness = 41_994
DeviceSettingDescription = 41_995
SubjectDistanceRange = 41_996
ImageUniqueID = 42_016
LensSpecification = 42_034
LensMake = 42_035
LensModel = 42_036
Gamma = 42_240
GPSVersionID = 0
GPSLatitudeRef = 1
GPSLatitude = 2
GPSLongitudeRef = 3
GPSLongitude = 4
GPSAltitudeRef = 5
GPSAltitude = 6
GPSTimeStamp = 7
GPSSatellites = 8
GPSStatus = 9
GPSMeasureMode = 10
GPSDOP = 11
GPSSpeedRef = 12
GPSSpeed = 13
GPSTrackRef = 14
GPSTrack = 15
GPSImgDirectionRef = 16
GPSImgDirection = 17
GPSMapDatum = 18
GPSDestLatitudeRef = 19
GPSDestLatitude = 20
GPSDestLongitudeRef = 21
GPSDestLongitude = 22
GPSDestBearingRef = 23
GPSDestBearing = 24
GPSDestDistanceRef = 25
GPSDestDistance = 26
GPSProcessingMethod = 27
GPSAreaInformation = 28
GPSDateStamp = 29
GPSDifferential = 30
Trait Implementations§
impl Copy for ExifTag
impl Eq for ExifTag
impl StructuralPartialEq for ExifTag
Auto Trait Implementations§
impl Freeze for ExifTag
impl RefUnwindSafe for ExifTag
impl Send for ExifTag
impl Sync for ExifTag
impl Unpin for ExifTag
impl UnwindSafe for ExifTag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more