1. A method of operating an electronic device including a processor for adding data to an image, the method comprising: dividing, by the processor, an area of the image into a plurality of regions; identifying, by the processor, each of the plurality of divided regions as a focused region or a non-focused region; and generating, by the processor, an image including the data by adding the data in at least one of the plurality of divided regions, based on a result of the identifying, wherein the image which includes the added data has a predetermined image format.