source: josm/trunk/src/com/drew/metadata/exif/makernotes/OlympusRawDevelopmentMakernoteDirectory.java@ 13500

Last change on this file since 13500 was 13061, checked in by Don-vip, 6 years ago

fix #15505 - update to metadata-extractor 2.10.1

  • Property svn:eol-style set to native
File size: 3.7 KB
Line 
1/*
2 * Copyright 2002-2015 Drew Noakes
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * More information about this project is available at:
17 *
18 * https://drewnoakes.com/code/exif/
19 * https://github.com/drewnoakes/metadata-extractor
20 */
21package com.drew.metadata.exif.makernotes;
22
23import com.drew.lang.annotations.NotNull;
24import com.drew.metadata.Directory;
25
26import java.util.HashMap;
27
28/**
29 * The Olympus raw development makernote is used by many manufacturers (Epson, Konica, Minolta and Agfa...), and as such contains some tags
30 * that appear specific to those manufacturers.
31 *
32 * @author Kevin Mott https://github.com/kwhopper
33 * @author Drew Noakes https://drewnoakes.com
34 */
35@SuppressWarnings("WeakerAccess")
36public class OlympusRawDevelopmentMakernoteDirectory extends Directory
37{
38 public static final int TagRawDevVersion = 0x0000;
39 public static final int TagRawDevExposureBiasValue = 0x0100;
40 public static final int TagRawDevWhiteBalanceValue = 0x0101;
41 public static final int TagRawDevWbFineAdjustment = 0x0102;
42 public static final int TagRawDevGrayPoint = 0x0103;
43 public static final int TagRawDevSaturationEmphasis = 0x0104;
44 public static final int TagRawDevMemoryColorEmphasis = 0x0105;
45 public static final int TagRawDevContrastValue = 0x0106;
46 public static final int TagRawDevSharpnessValue = 0x0107;
47 public static final int TagRawDevColorSpace = 0x0108;
48 public static final int TagRawDevEngine = 0x0109;
49 public static final int TagRawDevNoiseReduction = 0x010a;
50 public static final int TagRawDevEditStatus = 0x010b;
51 public static final int TagRawDevSettings = 0x010c;
52
53 @NotNull
54 protected static final HashMap<Integer, String> _tagNameMap = new HashMap<Integer, String>();
55
56 static {
57 _tagNameMap.put(TagRawDevVersion, "Raw Dev Version");
58 _tagNameMap.put(TagRawDevExposureBiasValue, "Raw Dev Exposure Bias Value");
59 _tagNameMap.put(TagRawDevWhiteBalanceValue, "Raw Dev White Balance Value");
60 _tagNameMap.put(TagRawDevWbFineAdjustment, "Raw Dev WB Fine Adjustment");
61 _tagNameMap.put(TagRawDevGrayPoint, "Raw Dev Gray Point");
62 _tagNameMap.put(TagRawDevSaturationEmphasis, "Raw Dev Saturation Emphasis");
63 _tagNameMap.put(TagRawDevMemoryColorEmphasis, "Raw Dev Memory Color Emphasis");
64 _tagNameMap.put(TagRawDevContrastValue, "Raw Dev Contrast Value");
65 _tagNameMap.put(TagRawDevSharpnessValue, "Raw Dev Sharpness Value");
66 _tagNameMap.put(TagRawDevColorSpace, "Raw Dev Color Space");
67 _tagNameMap.put(TagRawDevEngine, "Raw Dev Engine");
68 _tagNameMap.put(TagRawDevNoiseReduction, "Raw Dev Noise Reduction");
69 _tagNameMap.put(TagRawDevEditStatus, "Raw Dev Edit Status");
70 _tagNameMap.put(TagRawDevSettings, "Raw Dev Settings");
71 }
72
73 public OlympusRawDevelopmentMakernoteDirectory()
74 {
75 this.setDescriptor(new OlympusRawDevelopmentMakernoteDescriptor(this));
76 }
77
78 @Override
79 @NotNull
80 public String getName()
81 {
82 return "Olympus Raw Development";
83 }
84
85 @Override
86 @NotNull
87 protected HashMap<Integer, String> getTagNameMap()
88 {
89 return _tagNameMap;
90 }
91}
Note: See TracBrowser for help on using the repository browser.