Setting pixel color of 8-bit grayscale image using pointer

前端 未结 0 524
执念已碎
执念已碎 2020-11-29 23:20

I have this code:

QImage grayImage = image.convertToFormat(QImage::Format_Grayscale8);
int size = grayImage.width() * grayImage.height();
QRgb *data = new QRg         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题