A history adding device includes an image processing unit and a history
adding unit. The image processing unit applies image processing to an
input image to generate a processed image. The history adding unit
generates history information necessary for restoration processing in
which the processed image is restored to the input image. The history
adding unit adds the history information to the processed image to
generate a history-added image file to which the restoration processing
is executable.