com.drew.metadata.exif.SigmaMakernoteDirectory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metadata-extractor Show documentation
Show all versions of metadata-extractor Show documentation
Java library for extracting EXIF, IPTC, XMP, ICC and other metadata from image and video files.
/*
* Copyright 2002-2012 Drew Noakes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* More information about this project is available at:
*
* http://drewnoakes.com/code/exif/
* http://code.google.com/p/metadata-extractor/
*/
package com.drew.metadata.exif;
import com.drew.lang.annotations.NotNull;
import com.drew.metadata.Directory;
import java.util.HashMap;
/**
* Describes tags specific to Sigma / Foveon cameras.
*
* @author Drew Noakes http://drewnoakes.com
*/
public class SigmaMakernoteDirectory extends Directory
{
public static final int TAG_SERIAL_NUMBER = 2;
public static final int TAG_DRIVE_MODE = 3;
public static final int TAG_RESOLUTION_MODE = 4;
public static final int TAG_AUTO_FOCUS_MODE = 5;
public static final int TAG_FOCUS_SETTING = 6;
public static final int TAG_WHITE_BALANCE = 7;
public static final int TAG_EXPOSURE_MODE = 8;
public static final int TAG_METERING_MODE = 9;
public static final int TAG_LENS_RANGE = 10;
public static final int TAG_COLOR_SPACE = 11;
public static final int TAG_EXPOSURE = 12;
public static final int TAG_CONTRAST = 13;
public static final int TAG_SHADOW = 14;
public static final int TAG_HIGHLIGHT = 15;
public static final int TAG_SATURATION = 16;
public static final int TAG_SHARPNESS = 17;
public static final int TAG_FILL_LIGHT = 18;
public static final int TAG_COLOR_ADJUSTMENT = 20;
public static final int TAG_ADJUSTMENT_MODE = 21;
public static final int TAG_QUALITY = 22;
public static final int TAG_FIRMWARE = 23;
public static final int TAG_SOFTWARE = 24;
public static final int TAG_AUTO_BRACKET = 25;
@NotNull
protected static final HashMap _tagNameMap = new HashMap();
static
{
_tagNameMap.put(TAG_SERIAL_NUMBER, "Serial Number");
_tagNameMap.put(TAG_DRIVE_MODE, "Drive Mode");
_tagNameMap.put(TAG_RESOLUTION_MODE, "Resolution Mode");
_tagNameMap.put(TAG_AUTO_FOCUS_MODE, "Auto Focus Mode");
_tagNameMap.put(TAG_FOCUS_SETTING, "Focus Setting");
_tagNameMap.put(TAG_WHITE_BALANCE, "White Balance");
_tagNameMap.put(TAG_EXPOSURE_MODE, "Exposure Mode");
_tagNameMap.put(TAG_METERING_MODE, "Metering Mode");
_tagNameMap.put(TAG_LENS_RANGE, "Lens Range");
_tagNameMap.put(TAG_COLOR_SPACE, "Color Space");
_tagNameMap.put(TAG_EXPOSURE, "Exposure");
_tagNameMap.put(TAG_CONTRAST, "Contrast");
_tagNameMap.put(TAG_SHADOW, "Shadow");
_tagNameMap.put(TAG_HIGHLIGHT, "Highlight");
_tagNameMap.put(TAG_SATURATION, "Saturation");
_tagNameMap.put(TAG_SHARPNESS, "Sharpness");
_tagNameMap.put(TAG_FILL_LIGHT, "Fill Light");
_tagNameMap.put(TAG_COLOR_ADJUSTMENT, "Color Adjustment");
_tagNameMap.put(TAG_ADJUSTMENT_MODE, "Adjustment Mode");
_tagNameMap.put(TAG_QUALITY, "Quality");
_tagNameMap.put(TAG_FIRMWARE, "Firmware");
_tagNameMap.put(TAG_SOFTWARE, "Software");
_tagNameMap.put(TAG_AUTO_BRACKET, "Auto Bracket");
}
public SigmaMakernoteDirectory()
{
this.setDescriptor(new SigmaMakernoteDescriptor(this));
}
@NotNull
public String getName()
{
return "Sigma Makernote";
}
@NotNull
protected HashMap getTagNameMap()
{
return _tagNameMap;
}
}