A data processing apparatus has a first controller which specifies an
output mode for image data to be processed and a second controller which
determines whether the image data is stored in a memory or not based on
the output mode specified by the first controller.