public class ICCXYZType extends ICCTag
jj2000.j2k.icc.tags.ICCXYZTypeReverse,
jj2000.j2k.icc.types.XYZNumber| Modifier and Type | Field and Description |
|---|---|
long |
x
x component
|
long |
y
y component
|
long |
z
z component
|
| Modifier | Constructor and Description |
|---|---|
protected |
ICCXYZType(int signature,
byte[] data,
int offset,
int length)
Construct this tag from its constituant parts
|
| Modifier and Type | Method and Description |
|---|---|
static long |
DoubleToXYZ(double x)
Normalization utility
|
String |
toString()
Return the string rep of this tag.
|
void |
write(RandomAccessFile raf)
Write to a file.
|
static double |
XYZToDouble(long x)
Normalization utility
|
createInstance, signatureString, typeStringpublic final long x
public final long y
public final long z
protected ICCXYZType(int signature,
byte[] data,
int offset,
int length)
signature - tag iddata - array of bytesoffset - to data in the data arraylength - of data in the data arraypublic static long DoubleToXYZ(double x)
public static double XYZToDouble(long x)
public String toString()
public void write(RandomAccessFile raf) throws IOException
IOExceptionCopyright © 2015. All rights reserved.