QrGrayFromBitmap
function QrGrayFromBitmap(const aBitmap: TBitmap): tQrGrayImage;
A VCL bitmap to the grey raster the detector reads. The source is left untouched: whatever its pixel format, it is drawn onto a 24-bit scratch bitmap first, so this never mutates a bitmap the caller still owns.