摘要 |
An electronic camera according to the invention is provided with an imaging unit for generating image data by taking a subject image; a lossless compression unit for generating compressed data by performing substantial lossless compression on the image data; a compression judging unit for judging whether the amount of the losslessly compressed data exceeds a threshold value; and a recording unit for recording the image data uncompressed in a recording medium when the amount of the losslessly compressed data exceeds the threshold value, and for recording the compressed data in the recording unit when the amount does not. In the electronic camera, when the amount of data after lossless compression is unexpectedly large, uncompressed data having a generally stable amount of data is recorded instead of compressed data. This can avoid accidents where shooting results cannot be recorded due to unexpectedly large amount of compressed data.
|