X-ray imaging is very useful to investigate imploded core plasma in inertial fusion experiments. We can obtain information from X-ray images, such as shape, density, and temperature. An X-ray framing camera (XFC) capable of taking two-dimensional, time-resolved X-ray images is used to capture the images. In previous work, we developed a numerical model of an XFC to analyze its X-ray image. The calculated results agreed qualitatively with experimental results. However, it was not accurate enough to determine the absolute value of the signal. We thought this discrepancy was caused by gain depletion. In high energy laser experiments, high photon flux may cause gain depletion. This is a problem for accurate X-ray measurement. In this paper, we report our new model, including gain depletion. The new model is evaluated by tabletop laser experiments and high energy laser experiments. The results calculated using the new model agree quantitatively with our experimental results. Furthermore, we confirmed that gain depletion occurs in our high energy laser experiments. For quantitatively accurate X-ray intensity measurements, the XFC should be used with limited incident photon flux such that the gain linearity is guaranteed.