Patent ID: 8633941

Claim:
An image-processing apparatus that composes pieces of image data that are respectively drawn based on a plurality of drawing commands and displays the composite image data, comprising: an acquiring unit configured to acquire individual drawing commands in a predetermined order from the plurality of drawing commands; a determining unit configured to determine whether or not image data that is drawn based on the drawing command is a still image or a moving image, the moving image including a plurality of frames; a holding unit configured to hold color value data used for displaying a composite result of the still images, and to hold a moving image superimposition ratio used for displaying the moving image for each moving image; an updating unit configured to update the color value data and the moving image superimposition ratio held by the holding unit; and a display unit configured to display color value data representing composite image data, on a display screen; wherein, for each piece of image data that is drawn based on the drawing command in the predetermined order, the updating unit: updates each moving image superimposition ratio held in the holding unit based on a transmittance of the image data; updates the color value data held by the holding unit based on color value data and a transmittance of a still image in a case where the image data that is drawn based on the drawing command in the predetermined order is determined to be a still image; and updates the color value data held by the holding unit based on a transmittance of a moving image, and causes the transmittance of the moving image to be further held by the holding unit as a moving image superimposition ratio of the moving image in a case where the image data that is drawn based on the drawing command in the predetermined order is determined to be a moving image; and the display unit: displays the color value data held by the holding unit; and adds color value data, calculated by multiplying the color value data for each frame in the moving image by the moving image superimposition ratio corresponding to the moving image held by the holding unit, to color value data that is currently displayed, and displays resulting data on the display screen.