hi i'm creating a program with the same effect as the green screen used in the movies and i'm having problem in getting the right value of green colors, but when i uses black or white as a color to be mask it works but not with the green, can anyone give me an advise for this.
thanks
here is my codes
For k = 0 To pic1.ScaleHeight
clr = GetPixel(pic1.hdc, i, k)
If clr = vbGreen Then
SetPixel pic3.hdc, i, k, vbWhite
Else
SetPixel pic3.hdc, i, k, vbBlack