An electronic apparatus for camera optical-zoom, comprising a camera, a sensor, a processor, and a memory, wherein the memory stores a program instruction which, when executed by the processor, causes the processor to perform the following steps: receiving image data of a photographed object acquired by the camera; and integrating image data of a full pixel area corresponding to a zoom value of the camera according to a preset algorithm, and outputting the integrated image data according to a coordinate sequence of pixels on the sensor, characterized in that: the full pixel area comprises pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value; wherein in response to the zoom value of the camera being a maximum zoom value a, image data of pixel areas of the sensor corresponding to the zoom value a is outputted according to the coordinate sequence of the pixels on the sensor, wherein a is a positive number greater than 0; wherein in response to the zoom value of the camera being b and b being less than a, integrated image data of a full pixel area corresponding to the zoom value b is outputted according to the coordinate sequence of the pixels on the sensor; wherein the integrating comprises synthesizing, according to the preset algorithm, pixels in a pixel area of the sensor corresponding to a value greater than the zoom value b according to a size of each pixel in the pixel area of the sensor corresponding to the zoom value b, and integrating a synthesized pixel with image data of pixels in the pixel area of the sensor corresponding to the zoom value b; wherein the preset algorithm comprises an interpolation algorithm and a remosaic algorithm. receiving image data of a photographed object acquired by the camera; and integrating image data of a full pixel area corresponding to a zoom value of the camera according to a preset algorithm, and outputting the integrated image data according to a coordinate sequence of pixels on the sensor, characterized in that: the full pixel area comprises pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value; wherein in response to the zoom value of the camera being a maximum zoom value a, image data of pixel areas of the sensor corresponding to the zoom value a is outputted according to the coordinate sequence of the pixels on the sensor, wherein a is a positive number greater than 0; wherein in response to the zoom value of the camera being b and b being less than a, integrated image data of a full pixel area corresponding to the zoom value b is outputted according to the coordinate sequence of the pixels on the sensor; wherein the integrating comprises synthesizing, according to the preset algorithm, pixels in a pixel area of the sensor corresponding to a value greater than the zoom value b according to a size of each pixel in the pixel area of the sensor corresponding to the zoom value b, and integrating a synthesized pixel with image data of pixels in the pixel area of the sensor corresponding to the zoom value b; wherein the preset algorithm comprises an interpolation algorithm and a remosaic algorithm. the full pixel area comprises pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value; wherein in response to the zoom value of the camera being a maximum zoom value a, image data of pixel areas of the sensor corresponding to the zoom value a is outputted according to the coordinate sequence of the pixels on the sensor, wherein a is a positive number greater than 0; wherein in response to the zoom value of the camera being b and b being less than a, integrated image data of a full pixel area corresponding to the zoom value b is outputted according to the coordinate sequence of the pixels on the sensor; wherein the integrating comprises synthesizing, according to the preset algorithm, pixels in a pixel area of the sensor corresponding to a value greater than the zoom value b according to a size of each pixel in the pixel area of the sensor corresponding to the zoom value b, and integrating a synthesized pixel with image data of pixels in the pixel area of the sensor corresponding to the zoom value b; wherein the preset algorithm comprises an interpolation algorithm and a remosaic algorithm.