    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.jpeg.iptc;
    018
    019
    020public final class IptcConstants {
    021    public static final int IPTC_NON_EXTENDED_RECORD_MAXIMUM_SIZE = 32767;
    022
    023    public static final int IMAGE_RESOURCE_BLOCK_PHOTOSHOP2_INFO = 0x03e8;
    024    public static final int IMAGE_RESOURCE_BLOCK_MACINTOSH_PRINT_INFO = 0x03e9;
    025    public static final int IMAGE_RESOURCE_BLOCK_XML_DATA = 0x03ea;
    026    public static final int IMAGE_RESOURCE_BLOCK_PHOTOSHOP2_COLOR_TABLE = 0x03eb;
    027    public static final int IMAGE_RESOURCE_BLOCK_RESOLUTION_INFO = 0x03ed;
    028    public static final int IMAGE_RESOURCE_BLOCK_ALPHA_CHANNELS_NAMES = 0x03ee;
    029    public static final int IMAGE_RESOURCE_BLOCK_DISPLAY_INFO = 0x03ef;
    030    public static final int IMAGE_RESOURCE_BLOCK_PSTRING_CAPTION = 0x03f0;
    031    public static final int IMAGE_RESOURCE_BLOCK_BORDER_INFORMATION = 0x03f1;
    032    public static final int IMAGE_RESOURCE_BLOCK_BACKGROUND_COLOR = 0x03f2;
    033    public static final int IMAGE_RESOURCE_BLOCK_PRINT_FLAGS = 0x03f3;
    034    public static final int IMAGE_RESOURCE_BLOCK_BW_HALFTONING_INFO = 0x03f4;
    035    public static final int IMAGE_RESOURCE_BLOCK_COLOR_HALFTONING_INFO = 0x03f5;
    036    public static final int IMAGE_RESOURCE_BLOCK_DUOTONE_HALFTONING_INFO = 0x03f6;
    037    public static final int IMAGE_RESOURCE_BLOCK_BW_TRANSFER_FUNC = 0x03f7;
    038    public static final int IMAGE_RESOURCE_BLOCK_COLOR_TRANSFER_FUNCS = 0x03f8;
    039    public static final int IMAGE_RESOURCE_BLOCK_DUOTONE_TRANSFER_FUNCS = 0x03f9;
    040    public static final int IMAGE_RESOURCE_BLOCK_DUOTONE_IMAGE_INFO = 0x03fa;
    041    public static final int IMAGE_RESOURCE_BLOCK_EFFECTIVE_BW = 0x03fb;
    042    public static final int IMAGE_RESOURCE_BLOCK_OBSOLETE_PHOTOSHOP_TAG1 = 0x03fc;
    043    public static final int IMAGE_RESOURCE_BLOCK_EPS_OPTIONS = 0x03fd;
    044    public static final int IMAGE_RESOURCE_BLOCK_QUICK_MASK_INFO = 0x03fe;
    045    public static final int IMAGE_RESOURCE_BLOCK_OBSOLETE_PHOTOSHOP_TAG2 = 0x03ff;
    046    public static final int IMAGE_RESOURCE_BLOCK_LAYER_STATE_INFO = 0x0400;
    047    public static final int IMAGE_RESOURCE_BLOCK_WORKING_PATH = 0x0401;
    048    public static final int IMAGE_RESOURCE_BLOCK_LAYERS_GROUP_INFO = 0x0402;
    049    public static final int IMAGE_RESOURCE_BLOCK_OBSOLETE_PHOTOSHOP_TAG3 = 0x0403;
    050    public static final int IMAGE_RESOURCE_BLOCK_IPTC_DATA = 0x0404;
    051    public static final int IMAGE_RESOURCE_BLOCK_RAW_IMAGE_MODE = 0x0405;
    052    public static final int IMAGE_RESOURCE_BLOCK_JPEG_QUALITY = 0x0406;
    053    public static final int IMAGE_RESOURCE_BLOCK_GRID_GUIDES_INFO = 0x0408;
    054    public static final int IMAGE_RESOURCE_BLOCK_PHOTOSHOP_BGR_THUMBNAIL = 0x0409;
    055    public static final int IMAGE_RESOURCE_BLOCK_COPYRIGHT_FLAG = 0x040a;
    056    public static final int IMAGE_RESOURCE_BLOCK_URL = 0x040b;
    057    public static final int IMAGE_RESOURCE_BLOCK_PHOTOSHOP_THUMBNAIL = 0x040c;
    058    public static final int IMAGE_RESOURCE_BLOCK_GLOBAL_ANGLE = 0x040d;
    059    public static final int IMAGE_RESOURCE_BLOCK_COLOR_SAMPLERS_RESOURCE = 0x040e;
    060    public static final int IMAGE_RESOURCE_BLOCK_ICC_PROFILE = 0x040f;
    061    public static final int IMAGE_RESOURCE_BLOCK_WATERMARK = 0x0410;
    062    public static final int IMAGE_RESOURCE_BLOCK_ICC_UNTAGGED = 0x0411;
    063    public static final int IMAGE_RESOURCE_BLOCK_EFFECTS_VISIBLE = 0x0412;
    064    public static final int IMAGE_RESOURCE_BLOCK_SPOT_HALFTONE = 0x0413;
    065    public static final int IMAGE_RESOURCE_BLOCK_IDS_BASE_VALUE = 0x0414;
    066    public static final int IMAGE_RESOURCE_BLOCK_UNICODE_ALPHA_NAMES = 0x0415;
    067    public static final int IMAGE_RESOURCE_BLOCK_INDEXED_COLOUR_TABLE_COUNT = 0x0416;
    068    public static final int IMAGE_RESOURCE_BLOCK_TRANSPARENT_INDEX = 0x0417;
    069    public static final int IMAGE_RESOURCE_BLOCK_GLOBAL_ALTITUDE = 0x0419;
    070    public static final int IMAGE_RESOURCE_BLOCK_SLICES = 0x041a;
    071    public static final int IMAGE_RESOURCE_BLOCK_WORKFLOW_URL = 0x041b;
    072    public static final int IMAGE_RESOURCE_BLOCK_JUMP_TO_XPEP = 0x041c;
    073    public static final int IMAGE_RESOURCE_BLOCK_ALPHA_IDENTIFIERS = 0x041d;
    074    public static final int IMAGE_RESOURCE_BLOCK_URL_LIST = 0x041e;
    075    public static final int IMAGE_RESOURCE_BLOCK_VERSION_INFO = 0x0421;
    076    public static final int IMAGE_RESOURCE_BLOCK_EXIFINFO = 0x0422;
    077    public static final int IMAGE_RESOURCE_BLOCK_EXIF_INFO2 = 0x0423;
    078    public static final int IMAGE_RESOURCE_BLOCK_XMP = 0x0424;
    079    public static final int IMAGE_RESOURCE_BLOCK_CAPTION_DIGEST = 0x0425;
    080    public static final int IMAGE_RESOURCE_BLOCK_PRINT_SCALE = 0x0426;
    081    public static final int IMAGE_RESOURCE_BLOCK_PIXEL_ASPECT_RATIO = 0x0428;
    082    public static final int IMAGE_RESOURCE_BLOCK_LAYER_COMPS = 0x0429;
    083    public static final int IMAGE_RESOURCE_BLOCK_ALTERNATE_DUOTONE_COLORS = 0x042a;
    084    public static final int IMAGE_RESOURCE_BLOCK_ALTERNATE_SPOT_COLORS = 0x042b;
    085    public static final int IMAGE_RESOURCE_BLOCK_CLIPPING_PATH_NAME = 0x0bb7;
    086    public static final int IMAGE_RESOURCE_BLOCK_PRINT_FLAGS_INFO = 0x2710;
    087
    088    public static final int IPTC_RECORD_TAG_MARKER = 0x1c;
    089    public static final int IPTC_ENVELOPE_RECORD_NUMBER = 0x01;
    090    public static final int IPTC_APPLICATION_2_RECORD_NUMBER = 0x02;
    091
    092    private IptcConstants() {
    093    }
    094}