public enum JpegLsInterleaveMode extends Enum<JpegLsInterleaveMode>
Defines the interleave mode for multi-component (color) pixel data.
Enum Constant and Description |
---|
Line
The interleave mode is by line.
|
None
The data is encoded and stored as component for component: RRRGGGBBB.
|
Sample
The data is encoded and stored by sample.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static JpegLsInterleaveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpegLsInterleaveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpegLsInterleaveMode None
The data is encoded and stored as component for component: RRRGGGBBB.
public static final JpegLsInterleaveMode Line
The interleave mode is by line. A full line of each component is encoded before moving to the next line.
public static final JpegLsInterleaveMode Sample
The data is encoded and stored by sample. For color images this is the format like RGBRGBRGB.
public static JpegLsInterleaveMode[] values()
for (JpegLsInterleaveMode c : JpegLsInterleaveMode.values()) System.out.println(c);
public static JpegLsInterleaveMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getType()