摘要 |
When a plurality of documents is read to generate an image file including a plurality of pages in a storage medium, if a capacity of the storage medium is short during generation, a storage control unit returns a writing position so that file end information can be written and writes the file end information therein. Further, when a cancellation instruction is input during reading of a document, the storage control unit writes the file end information even when a file is being generated. Thus, even if a memory capacity comes short in the middle of a page or file generation is interrupted by cancellation operation, the generated file can be prevented from resulting in an incomplete file that cannot be displayed. |