Fixes portrait mode. Higher output image quality.

Portrait orientation fix. Images from the rear camera are now taken in "Photo" mode - full resolution.