Additional top-level class in compilation unit: PNGImageDataEnumeration.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int[] | |
| pack-priv static final int[] | |
| pack-priv static final int[] | |
| pack-priv static final int[] | |
| private static final int[][] | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final boolean | |
| pack-priv int[] | |
| pack-priv Point | |
| pack-priv static final int | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv long | |
| pack-priv static final int[] | |
| pack-priv static final int | |
| pack-priv ImageReadParam | |
| pack-priv static final int | |
| pack-priv PNGMetadata | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv DataInputStream | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv int[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv Rectangle | |
| pack-priv int | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv ImageInputStream | |
| pack-priv static final int | |
| pack-priv BufferedImage | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private WritableRaster | |
| private static void | |
| private void | |
| private static void | |
| private void | decodePass(int passNum, int xStart, int yStart, int xStep, int yStep, int passWidth, int passHeight)
|
| private static void | |
| private static void | |
| public ImageReadParam | getDefaultReadParam()
Overrides javax. Returns a default |
| public int | getHeight(int imageIndex)
Implements abstract javax. Returns the height in pixels of the given image within the input source. |
| public IIOMetadata | getImageMetadata(int imageIndex)
Implements abstract javax. Returns an |
| public Iterator | getImageTypes(int imageIndex)
Implements abstract javax. Returns an |
| public int | getNumImages(boolean allowSearch)
Implements abstract javax. Returns the number of images, not including thumbnails, available from the current input source. |
| public ImageTypeSpecifier | getRawImageType(int imageIndex)
Overrides javax. Returns an |
| public IIOMetadata | getStreamMetadata()
Implements abstract javax. Returns an |
| public int | getWidth(int imageIndex)
Implements abstract javax. Returns the width in pixels of the given image within the input source. |
| private static byte[] | |
| private static int | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public BufferedImage | read(int imageIndex, ImageReadParam param)
Implements abstract javax. Reads the image indexed by |
| private void | |
| private void | |
| private void | |
| private String | |
| public void | |
| private void | |
| public void | setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
Overrides javax. Sets the input source to use to the given
|
| private void | |
| private void |
| adam7XOffset | back to summary |
|---|---|
| pack-priv static final int[] adam7XOffset | |
| adam7XSubsampling | back to summary |
|---|---|
| pack-priv static final int[] adam7XSubsampling | |
| adam7YOffset | back to summary |
|---|---|
| pack-priv static final int[] adam7YOffset | |
| adam7YSubsampling | back to summary |
|---|---|
| pack-priv static final int[] adam7YSubsampling | |
| bandOffsets | back to summary |
|---|---|
| private static final int[][] bandOffsets | |
| bKGD_TYPE | back to summary |
|---|---|
| pack-priv static final int bKGD_TYPE | |
| cHRM_TYPE | back to summary |
|---|---|
| pack-priv static final int cHRM_TYPE | |
| debug | back to summary |
|---|---|
| private static final boolean debug | |
| destinationBands | back to summary |
|---|---|
| pack-priv int[] destinationBands | |
| destinationOffset | back to summary |
|---|---|
| pack-priv Point destinationOffset | |
| gAMA_TYPE | back to summary |
|---|---|
| pack-priv static final int gAMA_TYPE | |
| gotHeader | back to summary |
|---|---|
| pack-priv boolean gotHeader | |
| gotMetadata | back to summary |
|---|---|
| pack-priv boolean gotMetadata | |
| hIST_TYPE | back to summary |
|---|---|
| pack-priv static final int hIST_TYPE | |
| iCCP_TYPE | back to summary |
|---|---|
| pack-priv static final int iCCP_TYPE | |
| IDAT_TYPE | back to summary |
|---|---|
| pack-priv static final int IDAT_TYPE | |
| IEND_TYPE | back to summary |
|---|---|
| pack-priv static final int IEND_TYPE | |
| IHDR_TYPE | back to summary |
|---|---|
| pack-priv static final int IHDR_TYPE | |
| imageStartPosition | back to summary |
|---|---|
| pack-priv long imageStartPosition | |
| inputBandsForColorType | back to summary |
|---|---|
| pack-priv static final int[] inputBandsForColorType | |
| iTXt_TYPE | back to summary |
|---|---|
| pack-priv static final int iTXt_TYPE | |
| lastParam | back to summary |
|---|---|
| pack-priv ImageReadParam lastParam | |
| MAX_INFLATED_TEXT_LENGTH | back to summary |
|---|---|
| pack-priv static final int MAX_INFLATED_TEXT_LENGTH | |
| metadata | back to summary |
|---|---|
| pack-priv PNGMetadata metadata | |
| pHYs_TYPE | back to summary |
|---|---|
| pack-priv static final int pHYs_TYPE | |
| pixelsDone | back to summary |
|---|---|
| pack-priv int pixelsDone | |
| pixelStream | back to summary |
|---|---|
| pack-priv DataInputStream pixelStream | |
| PLTE_TYPE | back to summary |
|---|---|
| pack-priv static final int PLTE_TYPE | |
| PNG_COLOR_GRAY | back to summary |
|---|---|
| pack-priv static final int PNG_COLOR_GRAY | |
| PNG_COLOR_GRAY_ALPHA | back to summary |
|---|---|
| pack-priv static final int PNG_COLOR_GRAY_ALPHA | |
| PNG_COLOR_PALETTE | back to summary |
|---|---|
| pack-priv static final int PNG_COLOR_PALETTE | |
| PNG_COLOR_RGB | back to summary |
|---|---|
| pack-priv static final int PNG_COLOR_RGB | |
| PNG_COLOR_RGB_ALPHA | back to summary |
|---|---|
| pack-priv static final int PNG_COLOR_RGB_ALPHA | |
| PNG_FILTER_AVERAGE | back to summary |
|---|---|
| pack-priv static final int PNG_FILTER_AVERAGE | |
| PNG_FILTER_NONE | back to summary |
|---|---|
| pack-priv static final int PNG_FILTER_NONE | |
| PNG_FILTER_PAETH | back to summary |
|---|---|
| pack-priv static final int PNG_FILTER_PAETH | |
| PNG_FILTER_SUB | back to summary |
|---|---|
| pack-priv static final int PNG_FILTER_SUB | |
| PNG_FILTER_UP | back to summary |
|---|---|
| pack-priv static final int PNG_FILTER_UP | |
| sBIT_TYPE | back to summary |
|---|---|
| pack-priv static final int sBIT_TYPE | |
| sourceBands | back to summary |
|---|---|
| pack-priv int[] sourceBands | |
| sourceMaxProgressivePass | back to summary |
|---|---|
| pack-priv int sourceMaxProgressivePass | |
| sourceMinProgressivePass | back to summary |
|---|---|
| pack-priv int sourceMinProgressivePass | |
| sourceRegion | back to summary |
|---|---|
| pack-priv Rectangle sourceRegion | |
| sourceXSubsampling | back to summary |
|---|---|
| pack-priv int sourceXSubsampling | |
| sourceYSubsampling | back to summary |
|---|---|
| pack-priv int sourceYSubsampling | |
| sPLT_TYPE | back to summary |
|---|---|
| pack-priv static final int sPLT_TYPE | |
| sRGB_TYPE | back to summary |
|---|---|
| pack-priv static final int sRGB_TYPE | |
| stream | back to summary |
|---|---|
| pack-priv ImageInputStream stream | |
| tEXt_TYPE | back to summary |
|---|---|
| pack-priv static final int tEXt_TYPE | |
| theImage | back to summary |
|---|---|
| pack-priv BufferedImage theImage | |
| tIME_TYPE | back to summary |
|---|---|
| pack-priv static final int tIME_TYPE | |
| totalPixels | back to summary |
|---|---|
| pack-priv int totalPixels | |
| tRNS_TYPE | back to summary |
|---|---|
| pack-priv static final int tRNS_TYPE | |
| zTXt_TYPE | back to summary |
|---|---|
| pack-priv static final int zTXt_TYPE | |
| PNGImageReader | back to summary |
|---|---|
| public PNGImageReader(ImageReaderSpi originatingProvider) | |
| createRaster | back to summary |
|---|---|
| private WritableRaster createRaster(int width, int height, int bands, int scanlineStride, int bitDepth) | |
| decodeAverageFilter | back to summary |
|---|---|
| private static void decodeAverageFilter(byte[] curr, int coff, byte[] prev, int poff, int count, int bpp) | |
| decodeImage | back to summary |
|---|---|
| private void decodeImage() throws IOException, IIOException | |
| decodePaethFilter | back to summary |
|---|---|
| private static void decodePaethFilter(byte[] curr, int coff, byte[] prev, int poff, int count, int bpp) | |
| decodePass | back to summary |
|---|---|
| private void decodePass(int passNum, int xStart, int yStart, int xStep, int yStep, int passWidth, int passHeight) throws IOException | |
| decodeSubFilter | back to summary |
|---|---|
| private static void decodeSubFilter(byte[] curr, int coff, int count, int bpp) | |
| decodeUpFilter | back to summary |
|---|---|
| private static void decodeUpFilter(byte[] curr, int coff, byte[] prev, int poff, int count) | |
| getDefaultReadParam | back to summary |
|---|---|
| public ImageReadParam getDefaultReadParam() Overrides javax. Doc from javax. Returns a default The default implementation constructs and returns a new
| |
| getHeight | back to summary |
|---|---|
| public int getHeight(int imageIndex) throws IIOException Implements abstract javax. Doc from javax. Returns the height in pixels of the given image within the input source. If the image can be rendered to a user-specified size, then this method returns the default height.
| |
| getImageMetadata | back to summary |
|---|---|
| public IIOMetadata getImageMetadata(int imageIndex) throws IIOException Implements abstract javax. Doc from javax. Returns an
| |
| getImageTypes | back to summary |
|---|---|
| public Iterator Implements abstract javax. Doc from javax. Returns an The first element of the iterator should be the most "natural" type for decoding the image with as little loss as possible. For example, for a JPEG image the first entry should be an RGB image, even though the image data is stored internally in a YCbCr color space.
| |
| getNumImages | back to summary |
|---|---|
| public int getNumImages(boolean allowSearch) throws IIOException Implements abstract javax. Doc from javax. Returns the number of images, not including thumbnails, available from the current input source. Note that some image formats (such as animated GIF) do not
specify how many images are present in the stream. Thus
determining the number of images will require the entire stream
to be scanned and may require memory for buffering. If images
are to be processed in order, it may be more efficient to
simply call
| |
| getRawImageType | back to summary |
|---|---|
| public ImageTypeSpecifier getRawImageType(int imageIndex) throws IOException Overrides javax. Doc from javax. Returns an The default implementation simply returns the first entry
from the list provided by
| |
| getStreamMetadata | back to summary |
|---|---|
| public IIOMetadata getStreamMetadata() throws IIOException Implements abstract javax. Doc from javax. Returns an
| |
| getWidth | back to summary |
|---|---|
| public int getWidth(int imageIndex) throws IIOException Implements abstract javax. Doc from javax. Returns the width in pixels of the given image within the input source. If the image can be rendered to a user-specified size, then this method returns the default width.
| |
| inflate | back to summary |
|---|---|
| private static byte[] inflate(byte[] b) throws IOException | |
| paethPredictor | back to summary |
|---|---|
| private static int paethPredictor(int a, int b, int c) | |
| parse_bKGD_chunk | back to summary |
|---|---|
| private void parse_bKGD_chunk() throws IOException | |
| parse_cHRM_chunk | back to summary |
|---|---|
| private void parse_cHRM_chunk() throws IOException | |
| parse_gAMA_chunk | back to summary |
|---|---|
| private void parse_gAMA_chunk() throws IOException | |
| parse_hIST_chunk | back to summary |
|---|---|
| private void parse_hIST_chunk(int chunkLength) throws IOException, IIOException | |
| parse_iCCP_chunk | back to summary |
|---|---|
| private void parse_iCCP_chunk(int chunkLength) throws IOException | |
| parse_iTXt_chunk | back to summary |
|---|---|
| private void parse_iTXt_chunk(int chunkLength) throws IOException | |
| parse_pHYs_chunk | back to summary |
|---|---|
| private void parse_pHYs_chunk() throws IOException | |
| parse_PLTE_chunk | back to summary |
|---|---|
| private void parse_PLTE_chunk(int chunkLength) throws IOException | |
| parse_sBIT_chunk | back to summary |
|---|---|
| private void parse_sBIT_chunk() throws IOException | |
| parse_sPLT_chunk | back to summary |
|---|---|
| private void parse_sPLT_chunk(int chunkLength) throws IOException, IIOException | |
| parse_sRGB_chunk | back to summary |
|---|---|
| private void parse_sRGB_chunk() throws IOException | |
| parse_tEXt_chunk | back to summary |
|---|---|
| private void parse_tEXt_chunk(int chunkLength) throws IOException | |
| parse_tIME_chunk | back to summary |
|---|---|
| private void parse_tIME_chunk() throws IOException | |
| parse_tRNS_chunk | back to summary |
|---|---|
| private void parse_tRNS_chunk(int chunkLength) throws IOException | |
| parse_zTXt_chunk | back to summary |
|---|---|
| private void parse_zTXt_chunk(int chunkLength) throws IOException | |
| read | back to summary |
|---|---|
| public BufferedImage read(int imageIndex, ImageReadParam param) throws IIOException Implements abstract javax. Doc from javax. Reads the image indexed by The actual Any registered The set of source bands to be read and destination bands to
be written is determined by calling If the supplied
| |
| readHeader | back to summary |
|---|---|
| private void readHeader() throws IIOException | |
| readImage | back to summary |
|---|---|
| private void readImage(ImageReadParam param) throws IIOException | |
| readMetadata | back to summary |
|---|---|
| private void readMetadata() throws IIOException | |
| readNullTerminatedString | back to summary |
|---|---|
| private String readNullTerminatedString(Charset charset, int maxLen) throws IOException | |
| reset | back to summary |
|---|---|
| public void reset() Overrides javax. Doc from javax. Restores the The default implementation calls
| |
| resetStreamSettings | back to summary |
|---|---|
| private void resetStreamSettings() | |
| setInput | back to summary |
|---|---|
| public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) Overrides javax. Doc from javax. Sets the input source to use to the given
The The Subclasses should take care to remove any cached information based on the previous stream, such as header information or partially decoded image data. Use of a general The default implementation checks the
| |
| skipPass | back to summary |
|---|---|
| private void skipPass(int passWidth, int passHeight) throws IOException, IIOException | |
| updateImageProgress | back to summary |
|---|---|
| private void updateImageProgress(int newPixels) | |