介绍
最近做了一个长图分割的小工具(GitHub),记录一下用到的两个类QImage、QPixmap还有控件QLabel以及ScrollArea。
Qt provides four classes for handling image data: QImage, QPixmap, QBitmap and QPicture. QImage is designed and optimized for I/O, and for direct pixel access and manipulation, while QPixmap is designed and optimized for showing images on screen.