I want to exchange a particular color inside an image with another color. Is there any possible way?
I have one image with multiple colors.
I want to change a specific color with the alternate color that开发者_高级运维 i have pre-decided.
Is there any algorithms to modify the image and save it?
Help is appreciated.
Thank you very much.
See the selected answer to this question:
How to make one color transparent on a UIImage?
It also shows turning red pixels green, which applies to your question.
Definatly yes.
Look here Bitmap Images and Image Masks
Look in that page for: "Masking with color"
精彩评论