Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to make a bitmap image transparent? Is it possible to assign alpha channel to bitmap images!?
aravindan last edited by
When we are working on Win32, we remove the background of bitmap image which contains black by masking it to make an image transparent one. But we moved the concept now in Qt side, now we are facing the issue of how to make an image transparent . We tried of setting the image background to black too but it is not working. Even tried setting alpha channel to image ,no changes is happening.
If any one has idea about how to make this work in Qt side?, please share your concerns.
Not completely understood the requirement. Let me try answering the same. You can use QImage to load the images. You can manipulate pixels using the QImage. Just see if this helps.
Qt supports full transparency so you can just change the actual images to contain
the transparent area. ImageMagick can do that in batch if needed.
Anyway, there is also