QImage: Make similar pixels of two images transparent
-
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.
!http://cropme.ru/s/d/6/1/8fb6af96.png(Sample)!
peili
-
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.