Hi, I think this might have been a typo? in vf_colorkey.c:48 the "diff" isn't normalized to 0 - 1, but to 0 - 3. double diff = sqrt((dr * dr + dg * dg + db * db) / (255.0 * 255.0)); changing it to double diff = sqrt((dr * dr + dg * dg + db * db) / (3 * 255.0 * 255.0)); seems to fix it for me. Regards, Ted Park