brgb[i] = data[i + 54]; }
if(i+54 >= data.length) { break; } brgb[i] = data[i + 54]; }
    public java.awt.Image readMap32(byte[] data, BitmapHeader bh) {        java.awt.Image image;        int xwidth = bh.sizeimage / bh.height;        int ndata[] = new int[bh.height * bh.width];        byte brgb[] = new byte[bh.width * 4 * bh.height];                for(int i = 0; i < bh.width * 4 * bh.height; i++) {                    brgb[i] = data[i + 54];                }        int nindex = 0;        for (int j = 0; j < bh.height; j++) {            for (int i = 0; i < bh.width; i++) {                ndata[bh.width * (bh.height - j - 1) + i] =                    constructInt3(brgb, nindex);                nindex += 4;            }        }        image =            Toolkit.getDefaultToolkit().createImage(                new MemoryImageSource(bh.width, bh.height, ndata, 0, bh.width));        return (image);    }