public CCITTG4Encoder(int width) { rowpixels = width; rowbytes = (rowpixels + 7) / 8; refline = new byte[rowbytes]; }