QPixmap和QImage的区别
Qt文档中说:
The QImage class provides a hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device.
The QPixmap class is an off-screen image representation that can be used as a paint device.
但我看了很久,也还是不明白QPixmap和QImage的主要区别是什么?(可能是我太水了吧)
所以在此问一下大家,QPixmap和QImage这两者的主要有什么不同呢?(原理,用途等方面)