An electronic device comprising: a first camera (341; 410); a second camera (343; 420) having a view angle characteristic that is narrower than a view angle characteristic of the first camera and including a lens assembly and a driving unit capable of changing an optic axis of the lens assembly by adjusting an angle of the lens assembly; and a processor, wherein the processor is configured to: receive a photographing signal for photographing an external object, acquire a first image (939; 1030) of the external object by using the first camera, acquire a second image (911; 1011) of a part of the external object corresponding to a first direction by setting the lens assembly of the second camera to the first direction, acquire a third image (913; 1013) of another part of the external object corresponding to a second direction by setting the lens assembly of the second camera to the second direction, wherein the lens assembly of the second camera is moved from pointing in the first direction to pointing in the second direction during a read-out time of an image sensor of the second camera; and generate an image of the external object by synthesizing at least one part of the first image with at least one part of the second image, and synthesizing at least one other part of the first image with at least one part of the third image. a first camera (341; 410); a second camera (343; 420) having a view angle characteristic that is narrower than a view angle characteristic of the first camera and including a lens assembly and a driving unit capable of changing an optic axis of the lens assembly by adjusting an angle of the lens assembly; and a processor, wherein the processor is configured to: receive a photographing signal for photographing an external object, acquire a first image (939; 1030) of the external object by using the first camera, acquire a second image (911; 1011) of a part of the external object corresponding to a first direction by setting the lens assembly of the second camera to the first direction, acquire a third image (913; 1013) of another part of the external object corresponding to a second direction by setting the lens assembly of the second camera to the second direction, wherein the lens assembly of the second camera is moved from pointing in the first direction to pointing in the second direction during a read-out time of an image sensor of the second camera; and generate an image of the external object by synthesizing at least one part of the first image with at least one part of the second image, and synthesizing at least one other part of the first image with at least one part of the third image. receive a photographing signal for photographing an external object, acquire a first image (939; 1030) of the external object by using the first camera, acquire a second image (911; 1011) of a part of the external object corresponding to a first direction by setting the lens assembly of the second camera to the first direction, acquire a third image (913; 1013) of another part of the external object corresponding to a second direction by setting the lens assembly of the second camera to the second direction, wherein the lens assembly of the second camera is moved from pointing in the first direction to pointing in the second direction during a read-out time of an image sensor of the second camera; and generate an image of the external object by synthesizing at least one part of the first image with at least one part of the second image, and synthesizing at least one other part of the first image with at least one part of the third image.