A recording medium having a program which is recorded on the recording medium, can be read by a computer, is supplied with information as to coding executed to image data in the past, and causes the computer to execute coding processing up to a midstep or perfect coding processing of image data of a base band or image data, which is coded up to a midstep, wherein the program comprises:
- a first determination step for determining whether or not a coding picture type is a predetermined picture type;
- a comparison step for comparing, when it is determined by the processing at the first determination step that the picture type is the predetermined picture type, acquired information as to the coding with a condition as to the coding processing;
- and
- a second determination step for determining whether or not the information as to the coding is to be used to the coding processing based on a result of comparison of the processing executed at the comparison step.