首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
setalphachannel专题
QImage函数setAlphaChannel
最近使用QImage的函数setAlphaChannel时遇到了一个坑,花了不少时间才弄清楚:在使用这个函数后,图像格式都会变成QImage::Format_ARGB32_Premultiplied。 先看下setAlphaChannel在帮助文档的说明: void QImage::setAlphaChannel(const QImage &alphaChannel)Sets
阅读更多...