int b = image[p + j / 8] & 0xff;
b <<= j % 8;
pix[ptr++] = (b & 0x80) == 0 ? g : f;
}
}
java.awt.Image img = canvas.createImage(new MemoryImageSource(w, h, pix, 0, w));
return img;
}
private static class DmParams {
DmParams(int height, int width, int heightSection, int widthSection, int dataSize, int dataBlock, int errorBlock) {