How to get binary data from QPixmap?