ZBar, it only takes Y800 or 8bpp gray to the barcode scanning functions.
----- Original Message ----- From: Till Oliver Knoll <[email protected]> To: Qt Project <[email protected]> Cc: Sent: Wednesday, February 12, 2014 1:11 PM Subject: Re: [Interest] Fastest Way to convert a QVideoFrame to an QImage? Am 12.02.2014 um 18:55 schrieb Jason H <[email protected]>: > ... > Really, All I need is 2D 8bpp gray to pass off to the library. Sorry, I missed that part: which library are we now talking about? An external one (!= Qt). Your own? If the later: couldn't you not simply write your 8bit greyscale data into a plain vanilla char * buffer instead of trying to squeeze it back into a QImage (which apparently does not support "non-indexed 8bit greyscale" format)? Who processes that greyscale image in the end? Your own code? Or some other code you cannot modify? Cheers, Olivet _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
