A method for processing an image, applied to an electronic device including an image sensor, the method comprising: acquiring at least one first image frame having a low resolution based on a first pixel arrangement pattern when receiving a photographing instruction, wherein a pixel in the first pixel arrangement pattern includes sub-pixels of the same color component distributed in a square array in the image sensor; acquiring at least one second image frame having a high resolution based on the data of a raw image frame collected by the image sensor, which are converted to a second pixel arrangement pattern, wherein the second pixel arrangement pattern is a standard Bayer arrangement pattern, and the at least one first image frame and the at least one second image frame are captured for a same subject; and fusing the at least one first image frame and the at least one second image frame to obtain the image to be displayed; wherein fusing the at least one first image frame and the at least one second image frame to obtain the image to be displayed comprises: enlarging each of the at least one first image frame from a first resolution to a preset resolution to obtain at least one third image frame; reducing each of the at least one second image frame from a second resolution to the preset resolution to obtain at least one fourth image frame; and fusing the at least one third image frame and the at least one fourth image frame to obtain the image to be displayed; characterized in that , the method further comprises: detecting a light intensity of ambient light; and determining the preset resolution based on the light intensity, the first resolution and the second resolution. acquiring at least one first image frame having a low resolution based on a first pixel arrangement pattern when receiving a photographing instruction, wherein a pixel in the first pixel arrangement pattern includes sub-pixels of the same color component distributed in a square array in the image sensor; acquiring at least one second image frame having a high resolution based on the data of a raw image frame collected by the image sensor, which are converted to a second pixel arrangement pattern, wherein the second pixel arrangement pattern is a standard Bayer arrangement pattern, and the at least one first image frame and the at least one second image frame are captured for a same subject; and fusing the at least one first image frame and the at least one second image frame to obtain the image to be displayed; wherein fusing the at least one first image frame and the at least one second image frame to obtain the image to be displayed comprises: enlarging each of the at least one first image frame from a first resolution to a preset resolution to obtain at least one third image frame; reducing each of the at least one second image frame from a second resolution to the preset resolution to obtain at least one fourth image frame; and fusing the at least one third image frame and the at least one fourth image frame to obtain the image to be displayed; enlarging each of the at least one first image frame from a first resolution to a preset resolution to obtain at least one third image frame; reducing each of the at least one second image frame from a second resolution to the preset resolution to obtain at least one fourth image frame; and fusing the at least one third image frame and the at least one fourth image frame to obtain the image to be displayed; characterized in that , the method further comprises: detecting a light intensity of ambient light; and determining the preset resolution based on the light intensity, the first resolution and the second resolution. detecting a light intensity of ambient light; and determining the preset resolution based on the light intensity, the first resolution and the second resolution. <EOS>