Patent ID: 6943833

Claim:
An electronic camera comprising: an image-capturing element that captures an image of a subject and outputs image data of the captured subject image; a compression processing unit that implements a fixed-length compression on the image data so as to compress the image data within a specific range of a target code volume; a recording unit that records compressed data resulting from the compression implemented at said compression processing unit into a storage medium; a remaining-capacity detection unit that detects a remaining capacity of the storage medium; a remaining-capacity correction unit that determines a nominal remaining capacity by subtracting a predetermined adjustment capacity from the remaining capacity; a remaining frame quantity calculation unit that determines a nominal remaining frame quantity by dividing said nominal remaining capacity by the target code volume or an estimated compression code volume ascertained based upon previous compression results; a display unit that displays said nominal remaining frame quantity calculated at said remaining frame quantity calculation unit; and an allowable upper limit setting unit that sets an extent to which said target code volume may be exceeded within a capacity range corresponding to said adjustment capacity, wherein: said compression processing unit performs a fixed-length compression on the image data while allowing said target code volume to be exceeded within said extent.