Is there a way to convert a pylonImage to a QVideoFrame in Qt6.2?
Unsolved
Qt 6
-
Hi, I'm working on a QML app with pylon's SDK, and I am having some performance issues with displaying pylon Images , due to a lot of conversions
I am capturing pylon Images , converting them to QImages, then converting the pixel format of the QImage to one that is compatible with a video frame, and then using memcpy to convert the QImage to a QVideoFrame, is there a way for me to convert the pylon image to a QVideoFrame directly ? -
Hi,
What is the format of the image you get ?
Depending on that, you could possibly copy it directly in your QVideoFrame. -
Do you mean grayscale stored in RGB888 ?
-
Why not use one of the QImage grayscale format ?
-
What about
QImage::Format_Indexed8
?