I have some image with white background that have some text and logo inside. I want to set a filter only to text and logo but not the white background.
I have tried to set filter but it just change the entire image color. The logic that I want in the filter is like
if(color == white){
//do nothing
} else {
//turn gray
}
Is there a way to do this?
Just found answer to my question.
Assuming you have bitmap of an image name bitmap