An image forming apparatus of the invention includes a read unit to read
an image and to generate temporal image data from the image, a capacity
specifying unit to specify a specified capacity for final image data, and
a generation condition setting unit to set a generation condition for
generating the final image data from the temporal image data, the final
image data not exceeding the specified capacity is generated, and the
capacity of the generated final image data is displayed.