public final class EXRVersion extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_FLAGS
Bitwise OR of all known flags
|
static int |
EXR_VERSION
Value that goes into
VERSION_NUMBER_FIELD |
static int |
LONG_NAMES_FLAG
File contains long attribute or channel names
|
static int |
MAGIC
The MAGIC number is stored in the first four bytes of every OpenEXR image
file.
|
static int |
MULTI_PART_FILE_FLAG
File has multiple parts
|
static int |
NON_IMAGE_FLAG
File has at least one part which is not a regular scanline image or
regular tiled image (that is, it is a deep format).
|
static int |
SUPPORTED_FLAGS
Bitwise OR of all supported flags
|
static int |
TILED_FLAG
File is tiled
|
static int |
VERSION_FLAGS_FIELD
Mask for the 24-bit flags field inside the four-byte version identifier
which follows the magic number.
|
static int |
VERSION_NUMBER_FIELD
Mask for the 8-bit version number inside the four-byte version identifier
which follows the magic number.
|
Modifier and Type | Method and Description |
---|---|
static int |
getFlags(int version) |
static int |
getMaxNameLength(int version) |
static int |
getVersion(int version) |
static boolean |
isImfMagic(byte[] bytes) |
static boolean |
isImfMagic(byte[] bytes,
int offset) |
static boolean |
isMultiPart(int version) |
static boolean |
isNonImage(int version) |
static boolean |
isTiled(int version) |
static int |
makeNotTiled(int version) |
static int |
makeTiled(int version) |
static boolean |
supportsFlags(int flags) |
public static final int MAGIC
isImfMagic(byte[], int)
).public static final int VERSION_NUMBER_FIELD
public static final int VERSION_FLAGS_FIELD
public static final int EXR_VERSION
VERSION_NUMBER_FIELD
public static final int TILED_FLAG
public static final int LONG_NAMES_FLAG
public static final int NON_IMAGE_FLAG
public static final int MULTI_PART_FILE_FLAG
public static final int SUPPORTED_FLAGS
public static final int ALL_FLAGS
public static int getMaxNameLength(int version)
public static boolean isTiled(int version)
public static boolean isMultiPart(int version)
public static boolean isNonImage(int version)
public static int makeTiled(int version)
public static int makeNotTiled(int version)
public static int getVersion(int version)
public static int getFlags(int version)
public static boolean supportsFlags(int flags)
public static boolean isImfMagic(byte[] bytes)
public static boolean isImfMagic(byte[] bytes, int offset)