public ArithmeticCompress (byte[][] b, String outputFileName, boolean codeCbCr) throws IOException {

		arithmeticCompressProcess(b[0], outputFileName+"Y.bin");
		if (codeCbCr) {
			arithmeticCompressProcess(b[1], outputFileName+"Cb.bin");
			arithmeticCompressProcess(b[2], outputFileName+"Cr.bin");
		}
	}