QImage is a Qt class to perform pixel manipulation on.
QImage is used in many examples on this site.
Qt example 3: a changing background in 2D shows how to paint the pixels of a background sprite, like this screenshot (png).
- QImage example 1: Create a QImage
- QImage example 2: Draw on a QImage
- QImage example 3: Create a tiled QImage