A method of prescription of the bit-rate for the adaptive run-length DCT coding is described. From the total bit-rate estimated from the prescanned data of selected pixels, the step width of quantization of DCT coefficient is determined to make the coded bit-rate within the prescribed quantity. The estimation of the total bit-rate is obtained from simple additions and subtractions in order to make the estimation quickly