A non-transitory computer-readable medium storing a program for causing a computer to function as
- a generation unit configured to generate a browsing image by performing first image processing for original image data acquired by scanning an original, wherein the generated browsing image is stored in a storage unit,
- a holding unit configured to hold information which defines, for each printing purpose, second image processing and print settings to be applied in printing in correspondence with the first image processing, wherein the information indicates which processing and print settings are to be applied for restoring the browsing image to a state of the original,
- a specification unit configured to specify a printing purpose for the browsing image when accepting an instruction to print the browsing image,
- a conversion unit configured to convert the browsing image into image data for printing by deciding, in accordance with the information held by the holding unit, second image processing and print settings corresponding to the print purpose specified by said specification unit, and applying the decided second image processing and print settings to the browsing image, and
- a control unit configured to control a printing unit to output the image data for printing.