1. An electronic camera that creates an image file by processing image data obtained through an image-capturing operation, comprising: an image-capturing unit that generates the image data by capturing a subject image; a data extraction unit that sets an image plane range corresponding to an image portion of the image data and extracts data of the image portion in the image plane range; a data insertion unit that writes data of a predetermined specific image over the image plane range of the image data and generates data of a processed image; and a file creation unit that creates an image file by storing the data of the processed image into an image data area of the image file, which is referenced as image data and storing the data of the image portion into a non-image data area of the image file which is not referenced as image data.