1. An information processing apparatus in which a first case and a second case are openably and closably connected, comprising: an imaging device which is provided in the second case and opposed to the first case which is configured to have a read target medium placed thereon; and a controller, which comprises a processor and a program memory storing program code which is read by the processor such that the controller is configured to: detect that the first case and the second case have been closed into a predetermined open-and-close angle; control the imaging device to consecutively acquire a plurality of photographed images when it is detected that the first case and the second case have been closed into the predetermined open-and-close angle; perform distortion correction processing on each of the plurality of photographed images; perform composition processing by which the photographed images on which the distortion correction processing is performed are overlapped with each other, to obtain a composite image; and store the composite image in a memory.