Package com.drew.imaging.tiff
Class TiffDataFormat
- java.lang.Object
-
- com.drew.imaging.tiff.TiffDataFormat
-
public class TiffDataFormat extends java.lang.Object
An enumeration of data formats used by the TIFF specification.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CODE_DOUBLE
static int
CODE_INT16_S
static int
CODE_INT16_U
static int
CODE_INT32_S
static int
CODE_INT32_U
static int
CODE_INT8_S
static int
CODE_INT8_U
static int
CODE_RATIONAL_S
static int
CODE_RATIONAL_U
static int
CODE_SINGLE
static int
CODE_STRING
static int
CODE_UNDEFINED
static TiffDataFormat
DOUBLE
static TiffDataFormat
INT16_S
static TiffDataFormat
INT16_U
static TiffDataFormat
INT32_S
static TiffDataFormat
INT32_U
static TiffDataFormat
INT8_S
static TiffDataFormat
INT8_U
static TiffDataFormat
RATIONAL_S
static TiffDataFormat
RATIONAL_U
static TiffDataFormat
SINGLE
static TiffDataFormat
STRING
static TiffDataFormat
UNDEFINED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TiffDataFormat
fromTiffFormatCode(int tiffFormatCode)
int
getComponentSizeBytes()
int
getTiffFormatCode()
java.lang.String
toString()
-
-
-
Field Detail
-
CODE_INT8_U
public static final int CODE_INT8_U
- See Also:
- Constant Field Values
-
CODE_STRING
public static final int CODE_STRING
- See Also:
- Constant Field Values
-
CODE_INT16_U
public static final int CODE_INT16_U
- See Also:
- Constant Field Values
-
CODE_INT32_U
public static final int CODE_INT32_U
- See Also:
- Constant Field Values
-
CODE_RATIONAL_U
public static final int CODE_RATIONAL_U
- See Also:
- Constant Field Values
-
CODE_INT8_S
public static final int CODE_INT8_S
- See Also:
- Constant Field Values
-
CODE_UNDEFINED
public static final int CODE_UNDEFINED
- See Also:
- Constant Field Values
-
CODE_INT16_S
public static final int CODE_INT16_S
- See Also:
- Constant Field Values
-
CODE_INT32_S
public static final int CODE_INT32_S
- See Also:
- Constant Field Values
-
CODE_RATIONAL_S
public static final int CODE_RATIONAL_S
- See Also:
- Constant Field Values
-
CODE_SINGLE
public static final int CODE_SINGLE
- See Also:
- Constant Field Values
-
CODE_DOUBLE
public static final int CODE_DOUBLE
- See Also:
- Constant Field Values
-
INT8_U
public static final TiffDataFormat INT8_U
-
STRING
public static final TiffDataFormat STRING
-
INT16_U
public static final TiffDataFormat INT16_U
-
INT32_U
public static final TiffDataFormat INT32_U
-
RATIONAL_U
public static final TiffDataFormat RATIONAL_U
-
INT8_S
public static final TiffDataFormat INT8_S
-
UNDEFINED
public static final TiffDataFormat UNDEFINED
-
INT16_S
public static final TiffDataFormat INT16_S
-
INT32_S
public static final TiffDataFormat INT32_S
-
RATIONAL_S
public static final TiffDataFormat RATIONAL_S
-
SINGLE
public static final TiffDataFormat SINGLE
-
DOUBLE
public static final TiffDataFormat DOUBLE
-
-
Method Detail
-
fromTiffFormatCode
public static TiffDataFormat fromTiffFormatCode(int tiffFormatCode)
-
getComponentSizeBytes
public int getComponentSizeBytes()
-
getTiffFormatCode
public int getTiffFormatCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-