@@ -51,7 +51,73 @@ fn label_for_raw(id: u16) -> &'static str {
5151}
5252
5353fn label_for_maker_notes ( id : u16 ) -> & ' static str {
54- "TODO"
54+ match id {
55+ 0x0000 => "Version" ,
56+ 0x0010 => "Internal Serial Number" ,
57+ 0x1000 => "Quality" ,
58+ 0x1001 => "Sharpness" ,
59+ 0x1002 => "White Balance" ,
60+ 0x1003 => "Saturation" ,
61+ 0x100a => "White Balance Fine Tune" ,
62+ 0x100e => "Noise Reduction" ,
63+ 0x1010 => "Fuji Flash Mode" ,
64+ 0x1011 => "Flash Exposure Comp" ,
65+ 0x1021 => "Focus Mode" ,
66+ 0x1022 => "AF Mode" ,
67+ 0x1023 => "Focus Pixel" ,
68+ // 0x1026 => "", ?
69+ // Focus Priority Settings, packed into 4 bit fields
70+ // Fujifilm.pm: 882
71+ 0x102B => "Focus / Shutter Priority Settings" ,
72+ // 0x102C => "", // Unknown
73+ // More Focus Settings, see FujiFilm.pm:907
74+ 0x102D => "Focus Settings" ,
75+ // FujiFilm.pm:957
76+ 0x102E => "Continuous Autofocus Settings" ,
77+ 0x1030 => "Slow Sync" ,
78+ 0x1031 => "Picture Mode" ,
79+ 0x1032 => "Exposure Count" ,
80+ 0x1040 => "Shadow Tone" ,
81+ 0x1041 => "Highlight Tone" ,
82+ 0x1045 => "Lens Modulation Optimizer" ,
83+ // 0x1046 => "",
84+ 0x1047 => "Grain Effect" ,
85+ 0x1050 => "Shutter Type" ,
86+ 0x1100 => "Auto Bracketing" ,
87+ 0x1101 => "Sequence Number" ,
88+ 0x1103 => "Drive Mode Settings" ,
89+ // 0x1200 => "",
90+ 0x1300 => "Blur Warning" ,
91+ 0x1301 => "Focus Warning" ,
92+ 0x1302 => "Exposure Warning" ,
93+ // 0x1303 => "",
94+ // 0x1304 => "",
95+ // 0x1305 => "",
96+ 0x1400 => "Dynamic Range" ,
97+ 0x1401 => "Film Mode" ,
98+ 0x1402 => "Dynamic Range Setting" ,
99+ 0x1404 => "Min Focal Length" ,
100+ 0x1405 => "Max Focal Length" ,
101+ 0x1406 => "Max Aperture At Min Focal" ,
102+ 0x1407 => "Max Aperture At Max Focal" ,
103+ // 0x1408 => "",
104+ // 0x1409 => "",
105+ // 0x140A => "",
106+ 0x140b => "Auto Dynamic Range" ,
107+ 0x1422 => "Image Stabilization" ,
108+ // 0x1424 => "",
109+ // 0x1430 => "",
110+ 0x1431 => "Rating" ,
111+ 0x1436 => "Image Generation" ,
112+ 0x1438 => "Image Count" ,
113+ // 0x1439 => "",
114+ 0x1446 => "Flicker Reduction" ,
115+ 0x4100 => "Faces Detected" ,
116+ 0x4200 => "Num Face Elements" ,
117+ 0x0008 => "Raw Image Width" ,
118+ 0x000c => "Raw Image Height" ,
119+ _ => NOEXIST ,
120+ }
55121}
56122
57123fn label_for_exif_field ( id : u16 ) -> & ' static str {
0 commit comments