I have an image where I want all the pixels with a specific color converted to transparent pixels. The operation should not change the color/alpha value of any pixel which don't match the color exactly. How do I do that?
At first I thought I could use Colors->"Color to Alpha" but that don't work because it changes the color of all pixels(It adds an alpha value to all pixels).
Using Gimp 2.6.11 on Linux
Best Answer
You do use the
Color to Alpha
tool, but you also need to isolate the color using theSelect by color
tool. Here is how I accomplished replacing a specific color to transparent:Select by Color
tool to isolate the color. Be sure to setthreshold = 0.0
;Color to alpha
tool, and use theeyedropper
(after double clicking the "from" color) to select your color.OK
(twice).Let me know if this works for you, or if you need me to clarify any further.