New answers tagged

0

Fastest solution is to change your comparison to account for JPG compression artifacts (that slightly alter pixels colors): if (overlay.r <= 0.02 && overlay.g <= 0.02 && overlay.b <= 0.02) Right solution would be to add Alpha to your image and use it for transparency.



Top 50 recent answers are included