| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| pack-priv static final byte[] | |
| private int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final int[] | |
| private static final int[] | |
| private boolean | |
| pack-priv static final int[] | |
| private byte[][] | |
| 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 | |
| private static final int[] | |
| private static final int[] | |
| private final DataInputStream | |
| private boolean | |
| private boolean | |
| pack-priv static final int | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private int | |
| private void | |
| private void | |
| private void | |
| private void | |
| private ImageFrame | |
| public void | dispose()
Implements com. Disposes of any resources (such as native libraries) held by this loader. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private ImageStorage. | |
| private void | |
| public ImageFrame | load(int
the zero-relative index of the image to load. imageIndex, double the desired image width. If non-positive,
an w, double IllegalArgumentException will be thrown.the desired image height. If non-positive,
an h, boolean IllegalArgumentException will be thrown.whether to preserve the width-to-height ratio
of the image. preserveAspectRatio, boolean whether to use a smooth downscaling algorithm. smooth, float screen pixel scale (used for variable-density images) screenPixelScale, float image pixel scale (used for fixed-density images) imagePixelScale)Implements com. Loads the image at a given index in an image stream. |
| private void | |
| private static int | |
| private static int | |
| private static int | |
| private void | |
| private int | |
| private void | |
| private byte[] | |
| private byte[] | |
| private int[] | |
| private boolean | |
| private void | |
| private void | |
| private boolean | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| bitDepth | back to summary |
|---|---|
| private int bitDepth | |
| colorType | back to summary |
|---|---|
| private int colorType | |
| FILE_SIG | back to summary |
|---|---|
| pack-priv static final byte[] FILE_SIG | |
| height | back to summary |
|---|---|
| private int height | |
| 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 | |
| increment_x | back to summary |
|---|---|
| private static final int[] increment_x | |
| increment_y | back to summary |
|---|---|
| private static final int[] increment_y | |
| isInterlaced | back to summary |
|---|---|
| private boolean isInterlaced | |
| numBandsPerColorType | back to summary |
|---|---|
| pack-priv static final int[] numBandsPerColorType | |
| palette | back to summary |
|---|---|
| private byte[][] palette | |
| 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 | |
| starting_x | back to summary |
|---|---|
| private static final int[] starting_x | |
| starting_y | back to summary |
|---|---|
| private static final int[] starting_y | |
| stream | back to summary |
|---|---|
| private final DataInputStream stream | |
| tRNS_GRAY_RGB | back to summary |
|---|---|
| private boolean tRNS_GRAY_RGB | |
| tRNS_present | back to summary |
|---|---|
| private boolean tRNS_present | |
| tRNS_TYPE | back to summary |
|---|---|
| pack-priv static final int tRNS_TYPE | |
| trnsB | back to summary |
|---|---|
| private int trnsB | |
| trnsG | back to summary |
|---|---|
| private int trnsG | |
| trnsR | back to summary |
|---|---|
| private int trnsR | |
| width | back to summary |
|---|---|
| private int width | |
| PNGImageLoader2 | back to summary |
|---|---|
| public PNGImageLoader2(InputStream input) throws IOException | |
| bpp | back to summary |
|---|---|
| private int bpp() | |
| bytesPerColor | back to summary |
|---|---|
| private int bytesPerColor() | |
| copy | back to summary |
|---|---|
| private void copy(byte[] line, byte[] image, int pos, int step, int resultBpp) | |
| copy_plain | back to summary |
|---|---|
| private void copy_plain(byte[] line, byte[] image, int pos, int step, int bpp) | |
| copyTrns_gray | back to summary |
|---|---|
| private void copyTrns_gray(byte[] line, byte[] image, int pos, int step) | |
| copyTrns_rgb | back to summary |
|---|---|
| private void copyTrns_rgb(byte[] line, byte[] image, int pos, int step) | |
| decodePalette | back to summary |
|---|---|
| private ImageFrame decodePalette(byte[] srcImage, ImageMetadata metadata) throws IOException | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. Doc from com. Disposes of any resources (such as native libraries) held by this loader. Any further invocation of any methods on this object are undefined.
| |
| doAvrgFilter | back to summary |
|---|---|
| private void doAvrgFilter(byte[] line, byte[] pline, int bpp) | |
| doFilter | back to summary |
|---|---|
| private void doFilter(byte[] line, byte[] pline, int fType, int bpp) | |
| doPaethFilter | back to summary |
|---|---|
| private void doPaethFilter(byte[] line, byte[] pline, int bpp) | |
| doSubFilter | back to summary |
|---|---|
| private void doSubFilter(byte[] line, int bpp) | |
| doUpFilter | back to summary |
|---|---|
| private void doUpFilter(byte[] line, byte[] pline) | |
| downsample16to8 | back to summary |
|---|---|
| private void downsample16to8(byte[] line, byte[] image, int pos, int step, int bpp) | |
| downsample16to8_plain | back to summary |
|---|---|
| private void downsample16to8_plain(byte[] line, byte[] image, int pos, int step, int bpp) | |
| downsample16to8trns_gray | back to summary |
|---|---|
| private void downsample16to8trns_gray(byte[] line, byte[] image, int pos, int step) | |
| downsample16to8trns_rgb | back to summary |
|---|---|
| private void downsample16to8trns_rgb(byte[] line, byte[] image, int pos, int step) | |
| getType | back to summary |
|---|---|
| private ImageStorage. | |
| load | back to summary |
|---|---|
| private void load(byte[] image, InputStream data) throws IOException | |
| load | back to summary |
|---|---|
| public ImageFrame load(int imageIndex, double w, double h, boolean preserveAspectRatio, boolean smooth, float screenPixelScale, float imagePixelScale) throws IOException Implements com. Doc from com. Loads the image at a given index in an image stream. If no image exists
at that index
| |
| loadMip | back to summary |
|---|---|
| private void loadMip(byte[] image, InputStream data, int mip) throws IOException | |
| mipPos | back to summary |
|---|---|
| private static int mipPos(int pos, int mip, int[] start, int[] increment) | |
| mipSize | back to summary |
|---|---|
| private static int mipSize(int size, int mip, int[] start, int[] increment) | |
| paethPr | back to summary |
|---|---|
| private static int paethPr(int a, int b, int c) | |
| parsePaletteChunk | back to summary |
|---|---|
| private void parsePaletteChunk(int chunkLength) throws IOException | |
| parsePngMeta | back to summary |
|---|---|
| private int parsePngMeta() throws IOException | |
| parseTransparencyChunk | back to summary |
|---|---|
| private void parseTransparencyChunk(int chunkLength) throws IOException | |
| readBytes | back to summary |
|---|---|
| private byte[] readBytes(byte[] data) throws IOException | |
| readBytes | back to summary |
|---|---|
| private byte[] readBytes(byte[] data, int offs, int size) throws IOException | |
| readChunk | back to summary |
|---|---|
| private int[] readChunk() throws IOException | |
| readGrayTransparency | back to summary |
|---|---|
| private boolean readGrayTransparency(int chunkLength) throws IOException | |
| readHeader | back to summary |
|---|---|
| private void readHeader() throws IOException | |
| readPaletteChunk | back to summary |
|---|---|
| private void readPaletteChunk(int chunkLength) throws IOException | |
| readPaletteTransparency | back to summary |
|---|---|
| private boolean readPaletteTransparency(int chunkLength) throws IOException | |
| readRgbTransparency | back to summary |
|---|---|
| private boolean readRgbTransparency(int chunkLength) throws IOException | |
| skip | back to summary |
|---|---|
| private void skip(int n) throws IOException | |
| upsampleTo8 | back to summary |
|---|---|
| private void upsampleTo8(byte[] line, byte[] image, int pos, int w, int step, int bpp) | |
| upsampleTo8Gray | back to summary |
|---|---|
| private void upsampleTo8Gray(byte[] line, byte[] image, int pos, int w, int step) | |
| upsampleTo8GrayTrns | back to summary |
|---|---|
| private void upsampleTo8GrayTrns(byte[] line, byte[] image, int pos, int w, int step) | |
| upsampleTo8Palette | back to summary |
|---|---|
| private void upsampleTo8Palette(byte[] line, byte[] image, int pos, int w, int step) | |