Image management apparatus managing automatic image deletion of transferred image based on grace period, and image management method and recording medium
An information processing apparatus includes a processor configured to: set a grace period for image deletion in response to transferring one or more images from a first storage area to a second storage area different from the first storage area, according to a user's instruction; and give an instruction to delete, from the first storage area, an image corresponding to the transferred image, in response to a lapse of the grace period starting from the transfer.
1 . An image management apparatus, comprising:
a hardware processor configured to execute processes comprising:
setting, based on an instruction input by a user, a grace period for image deletion to be performed in response to transfer of at least one image from a first storage area to a second storage area different from the first storage area, the at least one image comprising duplicate image data generated by duplicating image data of an original image stored in the first storage area, and the grace period being a predetermined amount of time measured from the transfer of the at least one image; and
outputting a control instruction to delete, from the first storage area, the original image from which the at least one image was generated, in response to a lapse of the predetermined amount of time of the grace period as measured starting from the transfer of the at least one image.
2 . The image management apparatus according to claim 1 , wherein the setting sets the grace period selected based on an operation of the user from among a plurality of options including a period immediately after the transfer of the at least one image and a certain period after the transfer of the at least one image.
3 . The image management apparatus according to claim 1 , wherein the processes further comprise, in response to the grace period being updated by the setting of the grace period, applying the updated grace period to all original images from which duplicate images have been generated and which have not yet been deleted from the first storage area at a time of updating the grace period.
4 . The image management apparatus according to claim 3 , wherein the processes further comprise:
acquiring an instruction to update the grace period; and
in response to the grace period being updated in response to the instruction, deleting, from the first storage area, the original images from which duplicate images have been generated and which have not yet been deleted from the first storage area at the time of the updating the grace period, after a lapse of the updated grace period as measured starting from the transfer of the duplicate images.
5 . The image management apparatus according to claim 1 , wherein:
the image management apparatus is communicably connected to an imaging device external to the image management apparatus and including the first storage area therein, and
the processor transmits, to the imaging device, a request for deleting the original image from the first storage area.
6 . The image management apparatus according to claim 1 , wherein the processor outputs the control instruction to delete the original image with respect to which the grace period for image deletion has elapsed in response to a power source of an imaging device that is a transfer source of the at least one image being turned on.
7 . The image management apparatus according to claim 1 , further comprising:
a connection section by which the image management apparatus is communicably connected to an imaging device provided separately from the image management apparatus, the imaging device having the first storage area provided therein; and
the second storage area, the second storage area being provided in the image management apparatus.
8 . The image management apparatus according to claim 1 , wherein the setting comprises selecting, based on the instruction input by the user, the grace period from among a plurality of mutually different predetermined grace periods.
9 . An image management method executed under control of a computer to execute processing comprising:
setting, based on an instruction input by a user, a grace period for image deletion to be performed in response to transfer of at least one image from a first storage area to a second storage area different from the first storage area, the at least one image comprising duplicate image data generated by duplicating image data of an original image stored in the first storage area, and the grace period being a predetermined amount of time measured from the transfer of the at least one image; and
outputting a control instruction to delete, from the first storage area, the original image from which the at least one image was generated, in response to a lapse of the predetermined amount of time of the grace period as measured starting from the transfer of the at least one image.
10 . A non-transitory computer-readable storage medium storing a program executable by a computer to execute processing comprising:
setting, based on an instruction input by a user, a grace period for image deletion to be performed in response to transfer of at least one image from a first storage area to a second storage area different from the first storage area, the at least one image comprising duplicate image data generated by duplicating image data of an original image stored in the first storage area, and the grace period being a predetermined amount of time measured from the transfer of the at least one image; and
outputting a control instruction to delete, from the first storage area, the original image from which the at least one image was generated, in response to a lapse of the predetermined amount of time of the grace period as measured starting from the transfer of the at least one image.