Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4883

Camera board • Re: Picamera2 - How to rotate image 90, 180, 270 degrees?

$
0
0
If saving a JPEG, then you can set the orientation field in the EXIF data.
If saving to an MP4, then you can set the composition matrix in the MP4 file header.

Almost all players/viewers these days check these headers, as that it how mobile phones handle rotated captures.

Statistics: Posted by 6by9 — Tue Jan 23, 2024 3:40 pm



Viewing all articles
Browse latest Browse all 4883

Trending Articles