Dividing QImage into sub-images in PySide2
I have a large image composed of subimages I have received from another program, I will eventually need to use the subimages as icons on buttons. I understand the math to access the bits + bytes of the QImage, it is described clearly in the below C++ question. What I don’t understand is how to obtain the offseted bits/memory location with PySide2.