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 * <p>
032 * https://www.awaresystems.be/imaging/tiff/tifftags/docs/gel.html
033 * </p>
034 */
035public final class MolecularDynamicsGelTagConstants {
036
037    public static final TagInfoLong EXIF_TAG_MD_FILE_TAG = new TagInfoLong("MD FileTag", 0x82a5, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
038
039    public static final TagInfoRational EXIF_TAG_MD_SCALE_PIXEL = new TagInfoRational("MD ScalePixel", 0x82a6, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
040
041    public static final TagInfoShorts EXIF_TAG_MD_COLOR_TABLE = new TagInfoShorts("MD ColorTable", 0x82a7, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
042
043    public static final TagInfoAscii EXIF_TAG_MD_LAB_NAME = new TagInfoAscii("MD LabName", 0x82a8, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
044
045    public static final TagInfoAscii EXIF_TAG_MD_SAMPLE_INFO = new TagInfoAscii("MD SampleInfo", 0x82a9, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
046
047    public static final TagInfoAscii EXIF_TAG_MD_PREP_DATE = new TagInfoAscii("MD PrepDate", 0x82aa, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
048
049    public static final TagInfoAscii EXIF_TAG_MD_PREP_TIME = new TagInfoAscii("MD PrepTime", 0x82ab, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
050
051    public static final TagInfoAscii EXIF_TAG_MD_FILE_UNITS = new TagInfoAscii("MD FileUnits", 0x82ac, -1, TiffDirectoryType.EXIF_DIRECTORY_UNKNOWN);
052
053    public static final List<TagInfo> ALL_MOLECULAR_DYNAMICS_GEL_TAGS = Collections
054            .unmodifiableList(Arrays.asList(EXIF_TAG_MD_FILE_TAG, EXIF_TAG_MD_SCALE_PIXEL, EXIF_TAG_MD_COLOR_TABLE, EXIF_TAG_MD_LAB_NAME,
055                    EXIF_TAG_MD_SAMPLE_INFO, EXIF_TAG_MD_PREP_DATE, EXIF_TAG_MD_PREP_TIME, EXIF_TAG_MD_FILE_UNITS));
056
057    private MolecularDynamicsGelTagConstants() {
058    }
059}