Using Gimp can I make all the black pixels with RGB(0,0,0) into blue pixels with RGB(0,0,255)?
Asked
Active
Viewed 2.1e+01k times
2 Answers
126
Another way is to use the Color Exchange function.
Which is located under Colors > Map > Color Exchange and then either select the color from the preview picture using the color picker tool or just define the color to replace and the new color manually.
Here is the documentation page for that function.

Zanna
- 70,465

Octavian Helm
- 14,355
-
1
-
2
-
Very important to switch the image mode. Also if you have just two colors, switching mode to indexed after the replacement also saves you a lot of bytes. – Chibueze Opata Mar 09 '20 at 16:58
31
Replacing a colour can be done like this:
Activate the "Select by colour" tool:
- In the tool options, choose a threshold (0 if you want it to be precisely rgb(0,0,0))
Click on a black pixel
Select your new colour and drag it onto the image

Stefano Palazzo
- 86,783