|
3 | 3 | namespace MetadataExtractor.Formats.Exif.Makernotes
|
4 | 4 | {
|
5 | 5 | /// <summary>Describes tags specific to Apple cameras.</summary>
|
6 |
| - /// <remarks>Using information from http://owl.phy.queensu.ca/~phil/exiftool/TagNames/Apple.html</remarks> |
| 6 | + /// <remarks>Using information from https://exiftool.org/TagNames/Apple.html</remarks> |
7 | 7 | /// <author>Drew Noakes https://drewnoakes.com</author>
|
8 | 8 | public class AppleMakernoteDirectory : Directory
|
9 | 9 | {
|
10 | 10 | #pragma warning disable format
|
11 |
| - public const int TagRunTime = 0x0003; |
| 11 | + public const int TagMakernoteVersion = 0x0001; |
| 12 | + public const int TagAEMatrix = 0x0002; |
| 13 | + public const int TagRunTime = 0x0003; |
| 14 | + public const int TagAEStable = 0x0004; |
| 15 | + public const int TagAETarget = 0x0005; |
| 16 | + public const int TagAEAverage = 0x0006; |
| 17 | + public const int TagAFStable = 0x0007; |
12 | 18 | /// <summary>
|
13 | 19 | /// XYZ coordinates of the acceleration vector in units of g.
|
14 | 20 | /// As viewed from the front of the phone,
|
15 | 21 | /// positive X is toward the left side,
|
16 | 22 | /// positive Y is toward the bottom,
|
17 | 23 | /// positive Z points into the face of the phone
|
18 | 24 | /// </summary>
|
19 |
| - public const int TagAccelerationVector = 0x0008; |
20 |
| - public const int TagHdrImageType = 0x000a; |
| 25 | + public const int TagAccelerationVector = 0x0008; |
| 26 | + public const int TagHdrImageType = 0x000a; |
21 | 27 | /// <summary>
|
22 | 28 | /// Unique ID for all images in a burst.
|
23 | 29 | /// </summary>
|
24 |
| - public const int TagBurstUuid = 0x000b; |
25 |
| - public const int TagContentIdentifier = 0x0011; |
26 |
| - public const int TagImageUniqueId = 0x0015; |
27 |
| - public const int TagLivePhotoId = 0x0017; |
| 30 | + public const int TagBurstUuid = 0x000b; |
| 31 | + public const int TagFocusDistanceRange = 0x000c; |
| 32 | + public const int TagOisMode = 0x000f; |
| 33 | + public const int TagContentIdentifier = 0x0011; |
| 34 | + public const int TagImageCaptureType = 0x0014; |
| 35 | + public const int TagImageUniqueId = 0x0015; |
| 36 | + public const int TagLivePhotoId = 0x0017; |
| 37 | + public const int TagImageProcessingFlags = 0x0019; |
| 38 | + public const int TagQualityHint = 0x001a; |
| 39 | + public const int TagLuminanceNoiseAmplitude = 0x001d; |
| 40 | + public const int TagImageCaptureRequestID = 0x0020; |
| 41 | + public const int TagHdrHeadroom = 0x0021; |
| 42 | + public const int TagSceneFlags = 0x0025; |
| 43 | + public const int TagSignalToNoiseRatioType = 0x0026; |
| 44 | + public const int TagSignalToNoiseRatio = 0x0027; |
| 45 | + public const int TagPhotoIdentifier = 0x002b; |
| 46 | + public const int TagFocusPosition = 0x002f; |
| 47 | + public const int TagHdrGain = 0x0030; |
| 48 | + public const int TagAFMeasuredDepth = 0x0038; |
| 49 | + public const int TagAFConfidence = 0x003d; |
| 50 | + public const int TagColorCorrectionMatrix = 0x003e; |
| 51 | + public const int TagGreenGhostMitigationStatus = 0x003f; |
| 52 | + public const int TagSemanticStyle = 0x0040; |
| 53 | + public const int TagSemanticStyleRenderingVer = 0x0041; |
| 54 | + public const int TagSemanticStylePreset = 0x0042; |
| 55 | + public const int TagFrontFacingCamera = 0x0045; |
28 | 56 | #pragma warning restore format
|
29 | 57 |
|
30 | 58 | private static readonly Dictionary<int, string> _tagNameMap = new()
|
31 | 59 | {
|
| 60 | + { TagMakernoteVersion, "Makernote Version" }, |
| 61 | + { TagAEMatrix, "AE Matrix" }, |
32 | 62 | { TagRunTime, "Run Time" },
|
| 63 | + { TagAEStable, "AE Stable" }, |
| 64 | + { TagAETarget, "AE Target" }, |
| 65 | + { TagAEAverage, "AE Average" }, |
| 66 | + { TagAFStable, "AF Stable" }, |
33 | 67 | { TagAccelerationVector, "Acceleration Vector" },
|
34 | 68 | { TagHdrImageType, "HDR Image Type" },
|
35 | 69 | { TagBurstUuid, "Burst UUID" },
|
| 70 | + { TagFocusDistanceRange, "Focus Distance Range" }, |
| 71 | + { TagOisMode, "OIS Mode" }, |
36 | 72 | { TagContentIdentifier, "Content Identifier" },
|
| 73 | + { TagImageCaptureType, "Image Capture Type" }, |
37 | 74 | { TagImageUniqueId, "Image Unique ID" },
|
38 |
| - { TagLivePhotoId, "Live Photo ID" } |
| 75 | + { TagLivePhotoId, "Live Photo ID" }, |
| 76 | + { TagImageProcessingFlags, "Image Processing Flags" }, |
| 77 | + { TagQualityHint, "Quality Hint" }, |
| 78 | + { TagLuminanceNoiseAmplitude, "Luminance Noise Amplitude" }, |
| 79 | + { TagImageCaptureRequestID, "Image Capture Request ID" }, |
| 80 | + { TagHdrHeadroom, "HDR Headroom" }, |
| 81 | + { TagSceneFlags, "Scene Flags" }, |
| 82 | + { TagSignalToNoiseRatioType, "Signal-to-Noise Ratio Type" }, |
| 83 | + { TagSignalToNoiseRatio, "Signal-to-Noise Ratio" }, |
| 84 | + { TagPhotoIdentifier, "Photo Identifier" }, |
| 85 | + { TagFocusPosition, "Focus Position" }, |
| 86 | + { TagHdrGain, "HDR Gain" }, |
| 87 | + { TagAFMeasuredDepth, "AF Measured Depth" }, |
| 88 | + { TagAFConfidence, "AF Confidence" }, |
| 89 | + { TagColorCorrectionMatrix, "Color Correction Matrix" }, |
| 90 | + { TagGreenGhostMitigationStatus, "Green Ghost Mitigation Status" }, |
| 91 | + { TagSemanticStyle, "Semantic Style" }, |
| 92 | + { TagSemanticStyleRenderingVer, "Semantic Style Rendering Ver" }, |
| 93 | + { TagSemanticStylePreset, "Semantic Style Preset" }, |
| 94 | + { TagFrontFacingCamera, "Front Facing Camera" } |
39 | 95 | };
|
40 | 96 |
|
41 | 97 | public AppleMakernoteDirectory() : base(_tagNameMap)
|
|
0 commit comments