The invention discloses a real-time digital image compression prediction method, facilitating realization of a digital circuit and capable of performing time sequence optimization, based on prediction. Based on the prediction method, according to the image resolution, realization difficulty of the digital circuit and trade-off of compression efficiency, numerical values of a group of unit and prediction interval are selected. Higher is the image resolution, higher is the requirement for a time sequence of the digital circuit, at the moment, and the numerical values of the unit and prediction interval can be appropriately increased; according to the values of the selected unit and prediction interval and the position of the unit where a current pixel is located, corresponding reference pixels are selected for calculating the prediction value of the current pixel. By the adoption of the prediction method, the requirement for the time sequence of the digital circuit in a chip can be lowered, high practical value is achieved, and the method is expected to be applied to integrated circuits needing real-time video stream compression and decompression.