Store camera orientation in metadata