using qpixmap instead qimage