How to to remove certain colors from an image with PHP or Ruby?

sdtowerguy

New Member
Say there are 3 circles: red, blue, black.I only want the black circle to remain. How can I remove the red and blue circles?
 
Back
Top