public static enum NioImageBuffer.ImageType extends Enum<NioImageBuffer.ImageType>
Enum Constant and Description |
---|
TYPE_3BYTE_BGR
Represents an image with 8-bit RGB color components,
corresponding to a Windows-style BGR color model, with the
colors Blue, Green, and Red stored in 3 consecutive
bytes for each pixel.
|
TYPE_3BYTE_RGB
Represents an image with 8-bit RGB color components with
Red, Green, and Blue, stored in 3 consecutive
bytes for each pixel.
|
TYPE_4BYTE_ABGR
Represents an image with 8-bit RGBA color components with
Alpha, Blue, Green, and Red stored in 4 consecutive
bytes for each pixel.
|
TYPE_4BYTE_RGBA
Represents an image with 8-bit RGBA color components with
Red, Green, Blue, and Alpha stored in 4 consecutive
bytes for each pixel.
|
TYPE_BYTE_GRAY
Represents a unsigned byte grayscale image, non-indexed.
|
TYPE_INT_ARGB
Represents an image with 8-bit RGBA color components packed
into integer pixels.
|
TYPE_INT_BGR
Represents an image with 8-bit RGB color components,
corresponding to a Windows- or Solaris- style BGR color model,
with the colors Blue, Green, and Red packed into integer
pixels.
|
TYPE_INT_RGB
Represents an image with 8-bit RGB color components packed into
integer pixels.
|
Modifier and Type | Method and Description |
---|---|
static NioImageBuffer.ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NioImageBuffer.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NioImageBuffer.ImageType TYPE_3BYTE_BGR
public static final NioImageBuffer.ImageType TYPE_3BYTE_RGB
public static final NioImageBuffer.ImageType TYPE_4BYTE_ABGR
public static final NioImageBuffer.ImageType TYPE_4BYTE_RGBA
public static final NioImageBuffer.ImageType TYPE_BYTE_GRAY
public static final NioImageBuffer.ImageType TYPE_INT_ARGB
public static final NioImageBuffer.ImageType TYPE_INT_BGR
public static final NioImageBuffer.ImageType TYPE_INT_RGB
public static NioImageBuffer.ImageType[] values()
for (NioImageBuffer.ImageType c : NioImageBuffer.ImageType.values()) System.out.println(c);
public static NioImageBuffer.ImageType 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 nullCopyright © 2016–2022 SciJava. All rights reserved.