Patent ID: 7339610

Claim:
An image-capturing device, comprising: an image sensor that captures a subject image and generates image data; an operation member that is operated by a user to cause the image sensor to capture a subject image and generate image data; a connection unit to which a detachable portable memory is connected; a setting unit that sets either the detachable portable memory or an external device as a storage device where the image data generated by the image sensor in response to operation of the operation member by the user is to be stored; and an image storage control unit that controls transfer of image data, to transfer the image data generated by the image sensor to the detachable portable memory in a case that the detachable portable memory is set as the storage device, to transfer the image data generated by the image sensor from the image-capturing device to the external device via a communication circuit capable of communicating with the external device to store the image data in the external device in a case that the external device is set as the storage device, and when communication with the external device is disabled in the case that the external device is set as the storage device, to transfer the image data generated by the image sensor to the detachable portable memory on a temporary basis so that the operation member can be operated to cause the image sensor to capture a next subject image, and to record image identification information with regard to the image data transferred to the detachable portable memory on a temporary basis so that the image data transferred to the detachable portable memory on a temporary basis and the image data transferred to the detachable portable memory in the case that the detachable portable memory is set as the storage device can be distinguished from each other.