Image processing apparatus capable of displaying document thumbnail image, image processing apparatus control method, and storage medium
An image processing apparatus includes a memory, and a processor in communication with the memory, the processor configured to control a storage unit configured to associate and store a document and a thumbnail image of a top page of the document, a deletion unit configured to delete a page designated from among pages of the document stored in the storage unit, and a generation unit configured to, in a case where a page to be deleted by the deletion unit is a top page of the document, generate a thumbnail image based on the top page of the document after deletion.
1. An image processing apparatus comprising:
a storage that is able to store a first document, a first thumbnail image of a top page of the first document, a second document, and a second thumbnail image of a top page of the second document;
a user interface that receives a merge instruction for merging the first document and the second document; and
a controller that performs output process of
outputting a third document obtained by merging, in accordance with the merge instruction, the first document and the second document stored in the storage;
wherein the first document, the first thumbnail image, the second document, and the second thumbnail image remain after merging the first document and the second document, and
wherein, in accordance with the merge instruction, the controller determines a top thumbnail image of a top document in the first document and the second document
as a thumbnail image of the third document without generating a third thumbnail image of the third document.
2. The image processing apparatus according to claim 1 , further comprising a display,
wherein the controller is further configured to cause the display to display a list of documents stored in the storage, and, in a case where a thumbnail image is associated with a document stored in the storage, display the thumbnail image, and in a case where a thumbnail image is not associated with a document stored in the storage, display a predetermined image.
3. The image processing apparatus according to claim 1 , further comprising an input device configured to input a document by reading an original,
wherein the controller is further configured to store the document input by the input device in the storage.
4. The image processing apparatus according to claim 1 , wherein the controller is further configured to receive a document from an external device via a network, and
store the document received in the storage.
5. The image processing apparatus according to claim 1 , further comprising a printing device configured to print a document stored in the storage, wherein the output process is a printing process for printing the third document by the printing device.
6. The image processing apparatus according to claim 1 , wherein the controller is further configured to send a document stored in the storage to an external device, wherein the output process is a sending process for sending the third document by the controller.
7. The image processing apparatus according to claim 1 , wherein the controller generates the first thumbnail image based on the first document, and the controller generates the second thumbnail image based on the second document.
8. The image processing apparatus according to claim 1 , wherein the controller generates the first thumbnail image based on the first document when the first document is input, and the controller generates the second thumbnail image based on the second document when the second document is input.
9. A method for controlling an image processing apparatus comprising:
storing, in a storage by a controller, a first document, a first thumbnail image of a top page of the first document, a second document, and a second thumbnail image of a top page of the second document;
receiving, by a user interface, a merge instruction for merging the first document and the second document; and
performing, by the controller, output process of outputting a third document obtained by merging, in accordance with the merge instruction, the first document and the second document stored in the storage;
wherein the first document, the first thumbnail image, the second document, and the second thumbnail image remain after merging the first document and the second document, and
determining, in accordance with the merge instruction, a top thumbnail image of a top document in the first document and the second document
as a thumbnail image of the third document without generating a third thumbnail image of the third document.