In order to improve image quality of high compression ratio images, a
de-blocking process is performed on decoded image data, and then an edge
enhancement process is performed on the de-blocked image data. Performing
the edge enhancement process after performing the de-blocking process can
improve image quality of high compression ratio images.