Thanks lot @felmue, I really appreciate.
I had guessed the output format can also simply be changed by writing to the ov2640 register. At least it says it on the main page, that the other settings would be available.
Anyways, I am fine with working with jpg, but unfortunately I cannot reproduce the jpeg yet in an RGBA8 texture with the given resolution from the provided buffer (~8000 bytes). The photo taken is just white/grey.
0_1667220298210_8224550e-e22d-41b3-90ed-9e59588730eb-grafik.png
0_1667220428253_0cf88125-bb78-4c0a-9827-97a54f63315b-grafik.png
I am just sending the uint8_t buffer over Serial
for (uint32_t i = 0; i<frame.size; i++) { Serial.write( frame.buf[i] ); }, and read the bytes to a texture, while filtering for Jpeg Start ff d8 and Stops ff d9 (which I find).
0_1667220924758_ee39c219-d6c9-44ee-8297-692ab61868f1-grafik.png
The length / size of the buffer ~1000-3000 for the 160x140 resolution, seems suspiciously low though, compared to the relatively good image shown on the Core2 display. Hm.. I assume the buffer has to be uncompressed based on compression settings found in the Jpeg header bytes..
-- Got it working by decompressing jpeg