1. An image processing device for obtaining layout data by extracting still image data from moving image data, comprising: an image data input device configured to receive image data containing at least the moving image data, and a processor comprising: a material selector configured to select a template and the moving image data applied to the layout data, an extraction condition determiner configured to determine extraction conditions for extracting the still image data from the moving image data according to a relationship between synthesis areas of the selected template, a moving image analyzer configured to analyze the moving image data, a still image data extractor configured to extract the still image data meeting the extraction conditions from the moving image data according to an analysis results, and a layout synthesizer configured to produce the layout data by positioning the extracted still image data in corresponding synthesis areas of the template, wherein the relationship between the synthesis areas is a distance.