Ok, so I am working with bitmapData, using embedded jpgs. I need to be able to dynamically replace certain areas with a given branded color.
I have got it where it will replace the majority, but it leaves a bunch of pixels around the edges when I use floodFill. I think this is where threshold comes in, but I cannot figure out how to use it. Any ideas? Am I using the correct method(s)? Is this possible?

