When you take a picture using Cinemagraph, it detects areas of movement and indicates them. It also allows the user to indicate the wanted areas which has movements by painting in the display. It then stitches the selected moving areas in the final image and saves it in the (animated) Jpeg format.
Note! The final image is saved in the gif format on the Lumia with Windows Phone 7.