Please suggest an efficient way to select a region by color in a bitmap. Then replace this selected region-color to your desired color.
For example, If an image contains four colors say red, green, yellow, orange. Now suppose user clicked on yellow color, so select yellow colored region surrounding to the clicked position and now replace the yellow color to blue.
Hope, I explained the question properly. Kindly comment if need any more clarification.
As per my knowledge, bitmap is a memory consuming task and results into out of memory error.
Please share any link or sample code that will help me to implement this feature to my app.