An image recording apparatus (10, 200, 300), comprising: an image acquisition device (62R, 62L, 238, 312, 334) adapted to acquire a plurality of pieces of image data (PL, PR, PC, PM, P1, Pn) obtained by taking images in different viewing ranges; a selection device (16, 206, 320, 322) adapted to allow selection of whether image data for display output is generated; an aspect ratio designation device (16, 206, 320, 322) adapted to receive designation of an aspect ratio of the image data for display output when generation of image data for display output is selected; a representative image data generating device (14, 202, 302) adapted to generate representative image data from the plurality of pieces of image data according to the designated aspect ratio, wherein the representative image data generating device is adapted to select the representative image data from among the plurality of pieces of image data acquired by the image acquisition device when the aspect ratio is designated to a first aspect ratio of 4:3, and the representative image data generating device is adapted to synthesize the plurality of pieces of image data acquired by the image acquisition device to generate panoramic image data as the representative image data when the aspect ratio is designated to a second aspect ratio of 16:9; an image generating device (14, 202, 302) adapted to generate the image data for display output, wherein the image generating device performs predetermined processing to the representative image data to generate image data for display output; and an image file generating device (14, 202, 302) adapted to generate an image file (D10, D20, D30, D40) which includes an area for storing the representative image data and an area for storing the plurality of pieces of image data acquired by the image acquisition device and for storing the image data for display output. an image acquisition device (62R, 62L, 238, 312, 334) adapted to acquire a plurality of pieces of image data (PL, PR, PC, PM, P1, Pn) obtained by taking images in different viewing ranges; a selection device (16, 206, 320, 322) adapted to allow selection of whether image data for display output is generated; an aspect ratio designation device (16, 206, 320, 322) adapted to receive designation of an aspect ratio of the image data for display output when generation of image data for display output is selected; a representative image data generating device (14, 202, 302) adapted to generate representative image data from the plurality of pieces of image data according to the designated aspect ratio, wherein the representative image data generating device is adapted to select the representative image data from among the plurality of pieces of image data acquired by the image acquisition device when the aspect ratio is designated to a first aspect ratio of 4:3, and the representative image data generating device is adapted to synthesize the plurality of pieces of image data acquired by the image acquisition device to generate panoramic image data as the representative image data when the aspect ratio is designated to a second aspect ratio of 16:9; an image generating device (14, 202, 302) adapted to generate the image data for display output, wherein the image generating device performs predetermined processing to the representative image data to generate image data for display output; and an image file generating device (14, 202, 302) adapted to generate an image file (D10, D20, D30, D40) which includes an area for storing the representative image data and an area for storing the plurality of pieces of image data acquired by the image acquisition device and for storing the image data for display output.