information or not is determined and the data in the memory is cleared in accordance with the determination result to prevent a malfunction due to the destruction of data application_number US 45672495 A description an embodiment of the present invention is now explained in detail in conjunction with the drawings in the following embodiment a facsimile apparatus having an image data memory is explained fig1 shows a block diagram of a configuration of a facsimile apparatus of the present embodiment a cpu 1 is a central processing unit which controls the overall system in accordance with a content of a program stored in a rom 2 operations under the control of the cpu 1 are now explained in sequence a read operation is first explained a signal generated by a contact sensor cs 13 is shading corrected by a correction circuit macs 12 it is binarized and image transformed by an image processing circuit genesis 11 and serially inputted to a read unit scn of a read write code decode device rw codec 10 the input image data is developed into an internal ram codec buf of the rw codec 10 compressed by an encoder enc and stored in an image memory dram 6 and management information such as an acceptance number address information number of pages and storing image memory block information is stored in a ram 3 bat 4 denotes a battery a recording operation is now explained the image encoded data stored in the dram 6 is decompressed by a decoding unit dec of the rw codec 10 and it is developed into the codec buf as image data the developed image data is serially outputted from a recorded unit prn and corrected and image transformed by a recorded image.