Enum ImageInfoType
- java.lang.Object
-
- java.lang.Enum<ImageInfoType>
-
- org.silverpeas.core.io.media.image.ImageInfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<ImageInfoType>
public enum ImageInfoType extends Enum<ImageInfoType>
- Author:
- Yohann Chastagnier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANVAS_PAGE_GEOMETRY
layer canvas page geometry (equivalent to "%Wx%H%X%Y")CANVAS_PAGE_HEIGHT
page (canvas) heightCANVAS_PAGE_HEIGHT_OFFSET
page (canvas) y offset (including sign)CANVAS_PAGE_OFFSET
page (canvas) offset ( = %X%Y )CANVAS_PAGE_SIZE
page (canvas) size ( = %Wx%H )CANVAS_PAGE_WIDTH
page (canvas) widthCANVAS_PAGE_WIDTH_OFFSET
page (canvas) x offset (including sign)CLASS_AND_COLOR_SPACE
image class and colorspaceCOMPRESSION_QUALITY_LEVEL
image compression quality ( 0 = default )COMPRESSION_TYPE
image compression typeDENSITY_HEIGHT
y resolution (density)DENSITY_UNIT
image resolution unitsDENSITY_WIDTH
x resolution (density)DEPTH
image depth (as read in unless modified, image save depth)FILE_EXTENSION
filename extension or suffixFILE_FORMAT
image file format (file magic)FILE_SIZE
file size of image read inFILENAME
filename (including suffix)FILENAME_ONLY
filename without directory or extension (suffix)GIF_DISPOSE_METHOD
image GIF dispose methodHASH
CALCULATED: 'signature' hash of image valuesHEIGHT_IN_PIXEL
current image height in pixelsIS_TRANSPARENCY
image transparency channel enabled (true/false)METADATA_COMMENT
comment meta-data propertyMETADATA_LABEL
label meta-data propertyNB_IMAGES_IN_SEQUENCE
number of images in current image sequenceNB_UNIQUE_COLORS
CALCULATED: number of unique colorsORIENTATION
Orientation TagPATH_DIRECTORY
directory component of pathSCENE_NUMBER
scene number (from input unless re-assigned)TIME_DELAY
image time delay (in centi-seconds)TRIM_BOUNDING_MODE
CALCULATED: trim bounding box (without actually trimming)WIDTH_IN_PIXEL
current width in pixels
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getImOption()
static ImageInfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImageInfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIENTATION
public static final ImageInfoType ORIENTATION
Orientation Tag
-
FILE_SIZE
public static final ImageInfoType FILE_SIZE
file size of image read in
-
METADATA_COMMENT
public static final ImageInfoType METADATA_COMMENT
comment meta-data property
-
PATH_DIRECTORY
public static final ImageInfoType PATH_DIRECTORY
directory component of path
-
FILE_EXTENSION
public static final ImageInfoType FILE_EXTENSION
filename extension or suffix
-
FILENAME
public static final ImageInfoType FILENAME
filename (including suffix)
-
CANVAS_PAGE_GEOMETRY
public static final ImageInfoType CANVAS_PAGE_GEOMETRY
layer canvas page geometry (equivalent to "%Wx%H%X%Y")
-
HEIGHT_IN_PIXEL
public static final ImageInfoType HEIGHT_IN_PIXEL
current image height in pixels
-
NB_UNIQUE_COLORS
public static final ImageInfoType NB_UNIQUE_COLORS
CALCULATED: number of unique colors
-
METADATA_LABEL
public static final ImageInfoType METADATA_LABEL
label meta-data property
-
FILE_FORMAT
public static final ImageInfoType FILE_FORMAT
image file format (file magic)
-
NB_IMAGES_IN_SEQUENCE
public static final ImageInfoType NB_IMAGES_IN_SEQUENCE
number of images in current image sequence
-
CLASS_AND_COLOR_SPACE
public static final ImageInfoType CLASS_AND_COLOR_SPACE
image class and colorspace
-
SCENE_NUMBER
public static final ImageInfoType SCENE_NUMBER
scene number (from input unless re-assigned)
-
FILENAME_ONLY
public static final ImageInfoType FILENAME_ONLY
filename without directory or extension (suffix)
-
WIDTH_IN_PIXEL
public static final ImageInfoType WIDTH_IN_PIXEL
current width in pixels
-
DENSITY_WIDTH
public static final ImageInfoType DENSITY_WIDTH
x resolution (density)
-
DENSITY_HEIGHT
public static final ImageInfoType DENSITY_HEIGHT
y resolution (density)
-
DEPTH
public static final ImageInfoType DEPTH
image depth (as read in unless modified, image save depth)
-
IS_TRANSPARENCY
public static final ImageInfoType IS_TRANSPARENCY
image transparency channel enabled (true/false)
-
COMPRESSION_TYPE
public static final ImageInfoType COMPRESSION_TYPE
image compression type
-
GIF_DISPOSE_METHOD
public static final ImageInfoType GIF_DISPOSE_METHOD
image GIF dispose method
-
CANVAS_PAGE_HEIGHT
public static final ImageInfoType CANVAS_PAGE_HEIGHT
page (canvas) height
-
CANVAS_PAGE_OFFSET
public static final ImageInfoType CANVAS_PAGE_OFFSET
page (canvas) offset ( = %X%Y )
-
CANVAS_PAGE_SIZE
public static final ImageInfoType CANVAS_PAGE_SIZE
page (canvas) size ( = %Wx%H )
-
COMPRESSION_QUALITY_LEVEL
public static final ImageInfoType COMPRESSION_QUALITY_LEVEL
image compression quality ( 0 = default )
-
TIME_DELAY
public static final ImageInfoType TIME_DELAY
image time delay (in centi-seconds)
-
DENSITY_UNIT
public static final ImageInfoType DENSITY_UNIT
image resolution units
-
CANVAS_PAGE_WIDTH
public static final ImageInfoType CANVAS_PAGE_WIDTH
page (canvas) width
-
CANVAS_PAGE_WIDTH_OFFSET
public static final ImageInfoType CANVAS_PAGE_WIDTH_OFFSET
page (canvas) x offset (including sign)
-
CANVAS_PAGE_HEIGHT_OFFSET
public static final ImageInfoType CANVAS_PAGE_HEIGHT_OFFSET
page (canvas) y offset (including sign)
-
TRIM_BOUNDING_MODE
public static final ImageInfoType TRIM_BOUNDING_MODE
CALCULATED: trim bounding box (without actually trimming)
-
HASH
public static final ImageInfoType HASH
CALCULATED: 'signature' hash of image values
-
-
Method Detail
-
values
public static ImageInfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImageInfoType c : ImageInfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageInfoType valueOf(String name)
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getImOption
public String getImOption()
-
-