public class PNGReader extends ImageReader
Supports up to 8 bit depth sequential and Adam7 interlaced color and grayscale images. Alpha channel and single color transparency are also supported where permitted by the image color type.
| Modifier and Type | Field and Description |
|---|---|
static long |
SIGNATURE |
bitsPerPixel, bytesPerScanLine, height, param, rgbColorPalette, width| Constructor and Description |
|---|
PNGReader() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getICCProfile() |
boolean |
hasICCProfile() |
java.awt.image.BufferedImage |
read(java.io.InputStream is) |
getFrame, getFrameCount, getFrames, getImageParampublic static final long SIGNATURE
public byte[] getICCProfile()
public boolean hasICCProfile()
public java.awt.image.BufferedImage read(java.io.InputStream is)
throws java.lang.Exception
read in class ImageReaderjava.lang.Exception