Ask Microsoft, or whoever produced the CImage class. This has nothing to do with Qt.