This application discloses an image
data processing method, apparatus, and electronic device, belonging to the field of image
data processing technology. The method is applicable to an electronic device, which includes a first
processing unit, a second
processing unit, a display driving unit, and a display screen. The second
processing unit is connected to the display screen sequentially via the first processing unit and the display driving unit. The first processing unit includes a sub-pixel rendering module. The method includes: when the
image enhancement function of the first processing unit is enabled, determining the
image enhancement processing method for the first image data based on the format of the first image data output by the second processing unit; performing
image enhancement processing on the first image data according to the image enhancement processing method; performing sub-pixel rendering processing through the sub-pixel rendering module; and outputting second image data on the display screen that matches the sub-pixel arrangement of the display screen through the display driving unit.