Using Gimp can I make all the black pixels with RGB(0,0,0) into blue pixels with RGB(0,0,255)?
-
Posting a comment since I don't have enough reputation to post an answer : I made a guide on an image here, using the "mode" setting of layers in order to replace black by another color.– sodimelJul 23, 2021 at 10:22
2 Answers
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.
-
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. Mar 9, 2020 at 16:58
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