QImage::rgbSwapped(). 将图片中像素值中的红色和蓝色组件的值交换,将RGB图像转换为BGR图像 QImage image(fileName); QImage bgr = image.rgbSwapped(); ...
確定! 回上一頁