public final class PngColorType extends Object
Represents the PNG image color type.
Modifier and Type | Field and Description |
---|---|
static int |
Grayscale
Represents the color type where each pixel is a grayscale sample.
|
static int |
GrayscaleWithAlpha
Represents the color type where each pixel is a grayscale sample followed
by an alpha sample.
|
static int |
IndexedColor
Represents the color type where each pixel is a palette index; a PLTE chunk
shall appear.
|
static int |
Truecolor
Represents the color type where each pixel is an R,G,B triple.
|
static int |
TruecolorWithAlpha
Represents the color type where each pixel is an R,G,B triple followed by
an alpha sample.
|
public static final int Grayscale
Represents the color type where each pixel is a grayscale sample.
public static final int GrayscaleWithAlpha
Represents the color type where each pixel is a grayscale sample followed by an alpha sample.
public static final int IndexedColor
Represents the color type where each pixel is a palette index; a PLTE chunk shall appear.
public static final int Truecolor
Represents the color type where each pixel is an R,G,B triple.
public static final int TruecolorWithAlpha
Represents the color type where each pixel is an R,G,B triple followed by an alpha sample.