Located in compilation unit of com.
| Modifier and Type | Class and Description |
|---|---|
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv BitmapInfoHeader | |
| pack-priv int[] | |
| pack-priv int[] | |
| pack-priv static final short | |
| pack-priv final LEInputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static boolean | |
| private static byte | |
| private static byte | |
| public void | dispose()
Implements com. Disposes of any resources (such as native libraries) held by this loader. |
| private static int | |
| private static int | |
| private static int | |
| pack-priv static boolean | |
| public ImageFrame | load(int imageIndex, double w, double h, boolean preserveAspectRatio, boolean smooth, float screenPixelScale, float imagePixelScale)
Implements com. Loads the image at a given index in an image stream. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private int |
| BFH_SIZE | back to summary |
|---|---|
| pack-priv static final int BFH_SIZE | |
| bfOffBits | back to summary |
|---|---|
| pack-priv int bfOffBits | |
| bfSize | back to summary |
|---|---|
| pack-priv int bfSize | |
| bgra_palette | back to summary |
|---|---|
| pack-priv byte[] bgra_palette | |
| bih | back to summary |
|---|---|
| pack-priv BitmapInfoHeader bih | |
| bitMasks | back to summary |
|---|---|
| pack-priv int[] bitMasks | |
| bitOffsets | back to summary |
|---|---|
| pack-priv int[] bitOffsets | |
| BM | back to summary |
|---|---|
| pack-priv static final short BM | |
| data | back to summary |
|---|---|
| pack-priv final LEInputStream data | |
| BMPImageLoader | back to summary |
|---|---|
| pack-priv BMPImageLoader(InputStream input) throws IOException | |
| BGRtoRGB | back to summary |
|---|---|
| pack-priv static void BGRtoRGB(byte[] data, int pos, int size) | |
| checkDisjointMasks | back to summary |
|---|---|
| pack-priv static boolean checkDisjointMasks(int m1, int m2, int m3) | |
| convertFrom5To8Bit | back to summary |
|---|---|
| private static byte convertFrom5To8Bit(int i, int mask, int offset) | |
| convertFromXTo8Bit | back to summary |
|---|---|
| private static byte convertFromXTo8Bit(int i, int mask, int offset) | |
| 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.
| |
| getByte | back to summary |
|---|---|
| private static int getByte(byte[] buf, int pos) | |
| getDWord | back to summary |
|---|---|
| private static int getDWord(byte[] buf, int pos) | |
| getWord | back to summary |
|---|---|
| private static int getWord(byte[] buf, int pos) | |
| isPow2Minus1 | back to summary |
|---|---|
| pack-priv static boolean isPow2Minus1(int i) | |
| 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
| |
| parseBitfields | back to summary |
|---|---|
| private void parseBitfields() throws IOException | |
| read16Bit | back to summary |
|---|---|
| private void read16Bit(byte[] image, int rowLength, int hght, BMPImageLoader. | |
| read24Bit | back to summary |
|---|---|
| private void read24Bit(byte[] image, int rowLength, int hght) throws IOException | |
| read32BitBF | back to summary |
|---|---|
| private void read32BitBF(byte[] image, int rowLength, int hght) throws IOException | |
| read32BitRGB | back to summary |
|---|---|
| private void read32BitRGB(byte[] image, int rowLength, int hght) throws IOException | |
| readHeader | back to summary |
|---|---|
| private void readHeader() throws IOException | |
| readPackedBits | back to summary |
|---|---|
| private void readPackedBits(byte[] image, int rowLength, int hght) throws IOException | |
| readRLE | back to summary |
|---|---|
| private void readRLE(byte[] image, int rowLength, int hght, boolean isRLE4) throws IOException | |
| setRGBFromPalette | back to summary |
|---|---|
| private int setRGBFromPalette(byte[] image, int dstOffset, int index) | |
| Modifier and Type | Method and Description |
|---|---|
| public byte |
| convert | back to summary |
|---|---|
| public byte convert(int i, int mask, int offset) | |