Patent ID: 8023005

Claim:
An image recording apparatus comprising: an image recording device which records an extended image file storing a plurality of pieces of image data and a basic file storing at least one piece of image data selected from the plurality of pieces of image data stored in the extended image file, the extended image file and the basic file being associated with each other; a determination device which determines whether or not the basic file has been deleted or modified; and a basic file recovery device which recovers the basic file from the extended image file if it is determined that the basic file has been deleted or modified, wherein the image recording device records a plurality of pieces of image data taken from multiple viewpoints in the extended image file and records a piece of representative image data selected from the plurality of pieces of image data in the basic file, and the basic file recovery device recovers the piece of representative image data to be stored in the basic file by extracting the piece of representative image data, viewpoint number of the piece of representative image data being stored in basic file related information in the extended image file, among the plurality of pieces of image data stored in the extended image file.