001/*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements.  See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License.  You may obtain a copy of the License at
008 *
009 *      http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017package org.apache.commons.imaging.formats.tiff.constants;
018
019import java.util.Arrays;
020import java.util.Collections;
021import java.util.List;
022
023import org.apache.commons.imaging.formats.tiff.taginfos.TagInfo;
024import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoAscii;
025import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoLong;
026import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoRational;
027import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoShorts;
028
029/**
030 * Molecular Dynamics GEL file format
031 * <BR>
032 * http://www.awaresystems.be/imaging/tiff/tifftags/docs/gel.html
033 */
034public final class MolecularDynamicsGelTagConstants {
035
036    public static final TagInfoLong EXIF_TAG_MD_FILE_TAG = new TagInfoLong(
037            "MD FileTag", 0x82a5,
038            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
039
040    public static final TagInfoRational EXIF_TAG_MD_SCALE_PIXEL = new TagInfoRational(
041            "MD ScalePixel", 0x82a6,
042            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
043
044    public static final TagInfoShorts EXIF_TAG_MD_COLOR_TABLE = new TagInfoShorts(
045            "MD ColorTable", 0x82a7, -1,
046            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
047
048    public static final TagInfoAscii EXIF_TAG_MD_LAB_NAME = new TagInfoAscii(
049            "MD LabName", 0x82a8, -1,
050            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
051
052    public static final TagInfoAscii EXIF_TAG_MD_SAMPLE_INFO = new TagInfoAscii(
053            "MD SampleInfo", 0x82a9, -1,
054            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
055
056    public static final TagInfoAscii EXIF_TAG_MD_PREP_DATE = new TagInfoAscii(
057            "MD PrepDate", 0x82aa, -1,
058            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
059
060    public static final TagInfoAscii EXIF_TAG_MD_PREP_TIME = new TagInfoAscii(
061            "MD PrepTime", 0x82ab, -1,
062            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
063
064    public static final TagInfoAscii EXIF_TAG_MD_FILE_UNITS = new TagInfoAscii(
065            "MD FileUnits", 0x82ac, -1,
066            TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
067
068    public static final List<TagInfo> ALL_MOLECULAR_DYNAMICS_GEL_TAGS =
069            Collections.unmodifiableList(Arrays.asList(
070                    EXIF_TAG_MD_FILE_TAG,
071                    EXIF_TAG_MD_SCALE_PIXEL,
072                    EXIF_TAG_MD_COLOR_TABLE,
073                    EXIF_TAG_MD_LAB_NAME,
074                    EXIF_TAG_MD_SAMPLE_INFO,
075                    EXIF_TAG_MD_PREP_DATE,
076                    EXIF_TAG_MD_PREP_TIME,
077                    EXIF_TAG_MD_FILE_UNITS));
078
079    private MolecularDynamicsGelTagConstants() {
080    }
081}