The QImage class provides a hardware-independent pixmap representation with direct access to the pixel data. More... #include <qimage.h>…