Class IconExe.WinBMPFileFormat

    • Constructor Detail

      • WinBMPFileFormat

        WinBMPFileFormat()
    • Method Detail

      • decompressData

        void decompressData​(byte[] src,
                            byte[] dest,
                            int stride,
                            int cmp)
      • decompressRLE4Data

        int decompressRLE4Data​(byte[] src,
                               int numBytes,
                               int stride,
                               byte[] dest,
                               int destSize)
      • decompressRLE8Data

        int decompressRLE8Data​(byte[] src,
                               int numBytes,
                               int stride,
                               byte[] dest,
                               int destSize)
      • loadData

        byte[] loadData​(byte[] infoHeader)
      • loadData

        byte[] loadData​(byte[] infoHeader,
                        int stride)
      • loadFileHeader

        int[] loadFileHeader()
      • paletteToBytes

        static byte[] paletteToBytes​(IconExe.PaletteData pal)
        Answer a byte array containing the BMP representation of the given device independent palette.
      • flipScanLines

        void flipScanLines​(byte[] data,
                           int stride,
                           int height)