Thank you for your replies!
Yes, there are libraries able to do base64 encoding out of the box. In my first post in this topic I also mentioned the one I usually use.
The problem is that I see that the image data coming from the camera is contained in athat I would like to convert to a then I can pass that for example to the library I posted the linnk in my first post in this topic or to the code suggested in the previous answer.
Is this possible? I know maybe this is more a programming-related question and not a Raspberry-related question, but I'm not really sure how to handle that type.
Yes, there are libraries able to do base64 encoding out of the box. In my first post in this topic I also mentioned the one I usually use.
The problem is that I see that the image data coming from the camera is contained in a
Code:
std::vector<libcamera::Span<uint8_t>>
Code:
std::vector<uchar>
Is this possible? I know maybe this is more a programming-related question and not a Raspberry-related question, but I'm not really sure how to handle that
Code:
libcamera::Span
Statistics: Posted by gev_u — Thu Aug 29, 2024 8:23 pm