Hello,

I have an image as a QImage object in format ARGB32. I need to convert this image to grayscale and then get access to all pixels values. I found convertToFormat(QImage::Format_Grayscale8), but if I use it I won't be able to use bits() or scanline(), right? So how do I do this?