QImage crashers the program or displays wrong image color

Printable View