摘要 |
Embodiments of the present invention provide a photographing method and apparatus, which achieve that image data of objects in depth-of-field ranges of different focuses is recorded in one time of photographing, avoid loss of image details of an object that is caused when there is only one single fixed focus, and enable a user to see more comprehensive image data, without increasing hardware costs and a volume of an apparatus. The photographing method of the present invention includes: acquiring a photographing instruction; moving a lens according to the photographing instruction; acquiring image data for at least two times in a process in which the lens is moved, to obtain at least two pieces of image data; and generating an image file according to the at least two pieces of image data. |