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