I see the `QImage.bits()` function, and the `QImage.constBits()`, but both return a `voidptr` and I'm not sure in python what you can do with that. I am familiar with the C++ syntax, but not for python.

As for data type, i mean this:
A black and white pixel would be equal to `[[0,0,0],[255,255,255]]` where the `QImage` is `Format.RGB888`