| 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 | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv Point |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | compress(int comp, byte[] src, int srcOffset, int numBytes, byte[] dest, boolean last)
Compress numBytes bytes of image data from src, storing in dest (starting at 0), using the technique specified by comp. |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv boolean | isFileFormat(LEDataInputStream stream)
Implements abstract org. |
| pack-priv boolean | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv int[] | |
| pack-priv ImageData[] | loadFromByteStream()
Implements abstract org. |
| pack-priv PaletteData | |
| pack-priv PaletteData | |
| pack-priv static byte[] | paletteToBytes(PaletteData pal)
Answer a byte array containing the BMP representation of the given device independent palette. |
| pack-priv int | unloadData(ImageData image, byte[] data, OutputStream out, int comp)
Unload the given image's data into the given byte stream using the given compression strategy. |
| pack-priv int | unloadDataNoCompression(ImageData image, byte[] data, OutputStream out)
Prepare the given image's data for unloading into a byte stream using no compression strategy. |
| pack-priv void | unloadIntoByteStream(ImageLoader loader)
Implements abstract org. |
| BI_BITFIELDS | back to summary |
|---|---|
| pack-priv static final int BI_BITFIELDS | |
| BI_RGB | back to summary |
|---|---|
| pack-priv static final int BI_RGB | |
| BI_RLE4 | back to summary |
|---|---|
| pack-priv static final int BI_RLE4 | |
| BI_RLE8 | back to summary |
|---|---|
| pack-priv static final int BI_RLE8 | |
| BMPFileHeaderSize | back to summary |
|---|---|
| pack-priv static final int BMPFileHeaderSize | |
| BMPHeaderFixedSize | back to summary |
|---|---|
| pack-priv static final int BMPHeaderFixedSize | |
| importantColors | back to summary |
|---|---|
| pack-priv int importantColors | |
| pelsPerMeter | back to summary |
|---|---|
| pack-priv Point pelsPerMeter | |
| WinBMPFileFormat | back to summary |
|---|---|
| public WinBMPFileFormat() | |
| compress | back to summary |
|---|---|
| pack-priv int compress(int comp, byte[] src, int srcOffset, int numBytes, byte[] dest, boolean last) Compress numBytes bytes of image data from src, storing in dest (starting at 0), using the technique specified by comp. If last is true, this indicates the last line of the image. Answer the size of the compressed data. | |
| compressRLE4Data | back to summary |
|---|---|
| pack-priv int compressRLE4Data(byte[] src, int srcOffset, int numBytes, byte[] dest, boolean last) | |
| compressRLE8Data | back to summary |
|---|---|
| pack-priv int compressRLE8Data(byte[] src, int srcOffset, int numBytes, byte[] dest, boolean last) | |
| convertPixelsToBGR | back to summary |
|---|---|
| pack-priv void convertPixelsToBGR(ImageData image, byte[] dest) | |
| decompressData | back to summary |
|---|---|
| pack-priv void decompressData(byte[] src, byte[] dest, int stride, int cmp) | |
| decompressRLE4Data | back to summary |
|---|---|
| pack-priv int decompressRLE4Data(byte[] src, int numBytes, int stride, byte[] dest, int destSize) | |
| decompressRLE8Data | back to summary |
|---|---|
| pack-priv int decompressRLE8Data(byte[] src, int numBytes, int stride, byte[] dest, int destSize) | |
| flipScanLines | back to summary |
|---|---|
| pack-priv void flipScanLines(byte[] data, int stride, int height) | |
| isFileFormat | back to summary |
|---|---|
| pack-priv boolean isFileFormat(LEDataInputStream stream) Implements abstract org. Doc from org. Return whether or not the specified input stream represents a supported file format.
| |
| isPaletteBMP | back to summary |
|---|---|
| pack-priv boolean isPaletteBMP(PaletteData pal, int depth) | |
| loadData | back to summary |
|---|---|
| pack-priv byte[] loadData(byte[] infoHeader) | |
| loadData | back to summary |
|---|---|
| pack-priv byte[] loadData(byte[] infoHeader, int stride) | |
| loadFileHeader | back to summary |
|---|---|
| pack-priv int[] loadFileHeader() | |
| loadFromByteStream | back to summary |
|---|---|
| pack-priv ImageData[] loadFromByteStream() Implements abstract org.
| |
| loadPalette | back to summary |
|---|---|
| pack-priv PaletteData loadPalette(byte[] infoHeader) | |
| paletteFromBytes | back to summary |
|---|---|
| pack-priv PaletteData paletteFromBytes(byte[] bytes, int numColors) | |
| paletteToBytes | back to summary |
|---|---|
| pack-priv static byte[] paletteToBytes(PaletteData pal) Answer a byte array containing the BMP representation of the given device independent palette. | |
| unloadData | back to summary |
|---|---|
| pack-priv int unloadData(ImageData image, byte[] data, OutputStream out, int comp) Unload the given image's data into the given byte stream using the given compression strategy. Answer the number of bytes written. Method modified to use the passed data if it is not null. | |
| unloadDataNoCompression | back to summary |
|---|---|
| pack-priv int unloadDataNoCompression(ImageData image, byte[] data, OutputStream out) Prepare the given image's data for unloading into a byte stream using no compression strategy. Answer the number of bytes written. Method modified to use the passed data if it is not null. | |
| unloadIntoByteStream | back to summary |
|---|---|
| pack-priv void unloadIntoByteStream(ImageLoader loader) Implements abstract org. Unload a DeviceIndependentImage using Windows .BMP format into the given byte stream.
| |