Patent attributes
An electronic device includes a housing, a flexible display, a camera, and a processor. The housing includes a first housing and a second housing coupled to and movable with respect to the first housing. The flexible display including an exposed area that is a first size when the electronic device is in a first state and a second size when the second housing moves and the electronic device is switched into a second state. The processor is configured to acquire an image having a designated aspect ratio through the camera. The processor is also configured to display a first area of the image on the exposed area corresponding to the first size when the electronic device is in the first state and display a second area of the image on the exposed area corresponding to the second size when the electronic device is in the second state.