Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QImage: Make similar pixels of two images transparent
peili last edited by
Is there a method/library that will only make specific pixels in the destination image full-transparent? That is, the pixels in the destination image that match the given source image.
Why would you want to have a library for that? Load the two images, iterate over all pixels and compare the pixel colors, set the pixel to transparent if they match. That should be doable in less than 15 lines of code using QImage.