WHAT I'D LIKE TO DO:
I would like to allow a user to load up his own bitmap image. (That works fine.)
Ideally, it would be a PNG file with an alpha layer. (That works fine, too.)
If the picture does not have an alpha layer, I'd like the user to be able to specify a color which should become transparent.
Usually it's going to be a picture on a white background, but if they use the color-picker tool, they could select any color to be transparent.
WHAT I TRIED SO FAR:
I know a little bit about the "channel mapper" where I can assign the incoming Red, Blue, or Green channel to the Alpha channel.
But how could I do something like white? Or Orange?
I suspect it's going to turn out to be easy once I know the solution.
Any ideas?