change aspect ratio of captured images