|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrebuild.graphics.tiff.Tag
rebuild.graphics.tiff.tags.ShortTag
rebuild.graphics.tiff.tags.PhotometricInterpretationTag
public final class PhotometricInterpretationTag
The color space of the image data.
Field Summary | |
---|---|
static short |
BLACK_IS_ZERO
For bilevel and grayscale images: 0 is imaged as black. |
static short |
CFA
CFA (Color Filter Array) |
static short |
CIELAB
CIE L*a*b* (see also specification supplements 1 and 2) |
static short |
ICCLAB
CIE L*a*b*, alternate encoding also known as ICC L*a*b* (see also specification supplements 1 and 2) |
static short |
ITULAB
CIE L*a*b*, alternate encoding also known as ITU L*a*b*, defined in ITU-T Rec. |
static short |
LINEAR_RAW
LinearRaw |
static short |
MASK
This means that the image is used to define an irregularly shaped region of another image in the same TIFF file. |
static short |
PALETTE
In this model, a color is described with a single component. |
static short |
RGB
RGB value of (0,0,0) represents black, and (255,255,255) represents white, assuming 8-bit components. |
static short |
SEPARATED
Separated, usually CMYK. |
static short |
WHITE_IS_ZERO
For bilevel and grayscale images: 0 is imaged as white. |
static short |
YCBCR
YCbCr |
Fields inherited from class rebuild.graphics.tiff.Tag |
---|
count, data, dataType, value |
Constructor Summary | |
---|---|
PhotometricInterpretationTag(short type)
Create a new PhotometricInterpretation tag. |
Method Summary | |
---|---|
short |
getImageType()
Get the image type value. |
SamplesPerPixelTag |
getSamplesTag()
Get a SamplesPerPixelTag for the current photometric. |
static short |
getTagTypeValue()
Get the Tag 's type. |
void |
setCount(int count)
There is always only 1 element. |
void |
setValue(int type)
Set the image type. |
Methods inherited from class rebuild.graphics.tiff.tags.ShortTag |
---|
extraData, getShort, hasDefault, isDefault, setDataType, setExtraData, setShort, setupForBigTIFF, writeData |
Methods inherited from class rebuild.graphics.tiff.Tag |
---|
equals, getBigCount, getBigValue, getCount, getDataType, getExtraData, getIfExtraDataExists, getTagType, getValue, hashCode, setCount, setValue, toString, write, write, write, write, writeBig |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short WHITE_IS_ZERO
public static final short BLACK_IS_ZERO
public static final short RGB
public static final short PALETTE
public static final short MASK
public static final short SEPARATED
public static final short YCBCR
public static final short CIELAB
public static final short ICCLAB
public static final short ITULAB
public static final short CFA
public static final short LINEAR_RAW
Constructor Detail |
---|
public PhotometricInterpretationTag(short type)
type
- The type of image.Method Detail |
---|
public static short getTagTypeValue()
Tag
's type.
Tag
's type.public void setCount(int count)
setCount
in class ShortTag
count
- The number of Writer.SHORT
contained in the tag. If the number is bigger than the current count then it will add 0 Writer.SHORT
, else it will remove the Writer.SHORT
.setCount
public void setValue(int type)
setValue
in class Tag
type
- The image type.getValue
public short getImageType()
public SamplesPerPixelTag getSamplesTag()
SamplesPerPixelTag
for the current photometric.
SamplesPerPixelTag
, if this is null
than it is a variable number of components.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |