Package pixy.image.tiff
Enum TiffTag
java.lang.Object
java.lang.Enum<TiffTag>
pixy.image.tiff.TiffTag
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TiffTag>
,java.lang.constant.Constable
,Tag
public enum TiffTag extends java.lang.Enum<TiffTag> implements Tag
TiffField tag enumeration.
- Version:
- 1.0 01/04/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TiffTag.Attribute
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static Tag
fromShort(short value)
TiffTag.Attribute
getAttribute()
java.lang.String
getFieldAsString(java.lang.Object value)
Intended to be overridden by certain tags to provide meaningful string representation of the field value such as compression, photo metric interpretation etc.FieldType
getFieldType()
java.lang.String
getName()
short
getValue()
boolean
isCritical()
java.lang.String
toString()
static TiffTag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TiffTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEW_SUBFILE_TYPE
-
SUBFILE_TYPE
-
IMAGE_WIDTH
-
IMAGE_LENGTH
-
BITS_PER_SAMPLE
-
COMPRESSION
-
PHOTOMETRIC_INTERPRETATION
-
THRESHOLDING
-
CELL_WIDTH
-
CELL_LENGTH
-
FILL_ORDER
-
DOCUMENT_NAME
-
IMAGE_DESCRIPTION
-
MAKE
-
MODEL
-
STRIP_OFFSETS
-
ORIENTATION
-
SAMPLES_PER_PIXEL
-
ROWS_PER_STRIP
-
STRIP_BYTE_COUNTS
-
MIN_SAMPLE_VALUE
-
MAX_SAMPLE_VALUE
-
X_RESOLUTION
-
Y_RESOLUTION
-
PLANAR_CONFIGURATTION
-
PAGE_NAME
-
X_POSITION
-
Y_POSITION
-
FREE_OFFSETS
-
FREE_BYTE_COUNTS
-
GRAY_RESPONSE_UNIT
The precision of the information contained in the GrayResponseCurve. Because optical density is specified in terms of fractional numbers, this field is necessary to interpret the stored integer information. For example, if GrayScaleResponseUnits is set to 4 (ten-thousandths of a unit), and a GrayScaleResponseCurve number for gray level 4 is 3455, then the resulting actual value is 0.3455. -
GRAY_RESPONSE_CURVE
-
T4_OPTIONS
-
T6_OPTIONS
-
RESOLUTION_UNIT
-
PAGE_NUMBER
-
TRANSFER_FUNCTION
-
SOFTWARE
-
DATETIME
-
ARTIST
-
HOST_COMPUTER
-
PREDICTOR
-
WHITE_POINT
-
PRIMARY_CHROMATICITIES
-
COLORMAP
-
HALTONE_HINTS
-
TILE_WIDTH
-
TILE_LENGTH
-
TILE_OFFSETS
-
TILE_BYTE_COUNTS
-
BAD_FAX_LINES
-
CLEAN_FAX_DATA
-
CONSECUTIVE_BAD_FAX_LINES
-
SUB_IFDS
-
INK_SET
-
INK_NAMES
-
NUMBER_OF_INKS
-
DOT_RANGE
-
TARGET_PRINTER
-
EXTRA_SAMPLES
-
SAMPLE_FORMAT
-
S_MIN_SAMPLE_VALUE
-
S_MAX_SAMPLE_VALUE
-
TRANSFER_RANGE
-
CLIP_PATH
-
X_CLIP_PATH_UNITS
-
Y_CLIP_PATH_UNITS
-
INDEXED
-
JPEG_TABLES
-
OPI_PROXY
-
GLOBAL_PARAMETERS_IFD
-
PROFILE_TYPE
-
FAX_PROFILE
-
CODING_METHODS
-
VERSION_YEAR
-
MODE_NUMBER
-
DECODE
-
DEFAULT_IMAGE_COLOR
-
JPEG_PROC
-
JPEG_INTERCHANGE_FORMAT
-
JPEG_INTERCHANGE_FORMAT_LENGTH
-
JPEG_RESTART_INTERVAL
-
JPEG_LOSSLESS_PREDICTORS
-
JPEG_POINT_TRANSFORMS
-
JPEG_Q_TABLES
-
JPEG_DC_TABLES
-
JPEG_AC_TABLES
-
YCbCr_COEFFICIENTS
-
YCbCr_SUB_SAMPLING
-
YCbCr_POSITIONING
-
REFERENCE_BLACK_WHITE
-
STRIP_ROW_COUNTS
-
XMP
-
RATING
-
RATING_PERCENT
-
IMAGE_ID
-
MATTEING
-
COPYRIGHT
-
IPTC
-
IT8_SITE
-
IT8_COLOR_SEQUENCE
-
IT8_HEADER
-
IT8_RASTER_PADDING
-
IT8_BITS_PER_RUN_LENGTH
-
IT8_BITS_PER_EXTENDED_RUN_LENGTH
-
IT8_COLOR_TABLE
-
IT8_IMAGE_COLOR_INDICATOR
-
IT8_BKG_COLOR_INDICATOR
-
IT8_IMAGE_COLOR_VALUE
-
IT8_BKG_COLOR_VALUE
-
IT8_PIXEL_INTENSITY_RANGE
-
IT8_TRANSPARENCY_INDICATOR
-
IT8_COLOR_CHARACTERIZATION
-
IT8_HC_USAGE
-
IPTC2
-
FRAME_COUNT
-
PHOTOSHOP
-
EXIF_SUB_IFD
-
IMAGE_LAYER
-
ICC_PROFILE
-
GPS_SUB_IFD
-
IMAGE_SOURCE_DATA
-
WINDOWS_XP_TITLE
-
WINDOWS_XP_COMMENT
-
WINDOWS_XP_AUTHOR
-
WINDOWS_XP_KEYWORDS
-
WINDOWS_XP_SUBJECT
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromShort
-
getAttribute
-
getFieldAsString
public java.lang.String getFieldAsString(java.lang.Object value)Intended to be overridden by certain tags to provide meaningful string representation of the field value such as compression, photo metric interpretation etc.- Specified by:
getFieldAsString
in interfaceTag
- Parameters:
value
- field value to be mapped to a string- Returns:
- a string representation of the field value or empty string if no meaningful string representation exists.
-
getFieldType
- Specified by:
getFieldType
in interfaceTag
-
getName
public java.lang.String getName() -
getValue
public short getValue() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<TiffTag>
-
isCritical
public boolean isCritical()- Specified by:
isCritical
in interfaceTag
-