I want to reproduce Photoshop's Replace Color feature in AS3.
Here is what i want to achieve on 8-bit images:
http://www.digital-photography-school.com/wp-content/uploads/2009/07/before-after.jpg
I want the user to be able to :
1 - select a color using an 'eyedropper'
2 - select a threshold ( example : http://cl.ly/3J3Q1f1M242E2Q1z0F25 )
3 - select a replacement color
- it is important that the color replacement blends well and does not have banding/dithering.
any code and examples would be greatly appreciated.
This should get you started. It's a little tough to get into, but once you get the hand of things it becomes a real time-saver.
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS3E659D01-10C0-479d-8175-B40950BBC223.html