[Interest] Converting CVImageBufferRef into QImage
annulen at yandex.ru
Fri Feb 28 18:07:58 CET 2020
28.02.2020, 19:34, "Jason H" <jhihn at gmx.com>:
> Just how invalid are we talking?
> It's well-known that the blue/red channels may be swapped, and I've seen padding on the row.
> Doing your math though you're only reporting 2 bytes per pixel, which is very wrong. What is the image format you expect?
FWIW, QImage::Format_Grayscale16 uses exactly 2 bytes per pixel.
More information about the Interest