1. A method for processing an image, the method comprising: selecting a gamma curve with a first image having a high dynamic range (HDR) and cumulative minimum luminance error among a plurality of gamma curves corresponding to a display device in order to display the first image in a display device having a standard dynamic range (SDR); and converting the first image into a second image having an SDR according to the selected gamma curve.