Package | Description |
---|---|
com.drew.imaging.png |
Contains classes for working with PNG (Portable Network Graphic) files.
|
Modifier and Type | Field and Description |
---|---|
static PngColorType |
PngColorType.GREYSCALE
Each pixel is a greyscale sample.
|
static PngColorType |
PngColorType.GREYSCALE_WITH_ALPHA
Each pixel is a greyscale sample followed by an alpha sample.
|
static PngColorType |
PngColorType.INDEXED_COLOR
Each pixel is a palette index.
|
static PngColorType |
PngColorType.TRUE_COLOR
Each pixel is an R,G,B triple.
|
static PngColorType |
PngColorType.TRUE_COLOR_WITH_ALPHA
Each pixel is an R,G,B triple followed by an alpha sample.
|
Modifier and Type | Method and Description |
---|---|
static PngColorType |
PngColorType.fromNumericValue(int numericValue) |
PngColorType |
PngHeader.getColorType() |
Copyright © 2002-2020 Drew Noakes. All Rights Reserved.