Provided is a method of controlling the operation of a digital camera to
order to take an identification photograph in a natural setting by
displaying a frame and a reference outline of the identification
photograph, performing photographing according to a photographing signal
by a user, displaying a detection area to detect an outline of a figure
around the reference outline on a photographed image, detecting the
outline of the figure in the detection area, and forming a background
image for the identification photograph in a set background area with
respect to the detected outline.