: How can I change all white pixels to black but keep the transparancy intact using Gimp? I have toolbar icons in a file that are all white with transparent background. Using gimp, how do
I have toolbar icons in a file that are all white with transparent background. Using gimp, how do I change the white to black without affecting the transparency?
More posts by @Barnes313
2 Comments
Sorted by latest first Latest Oldest Best
Another approach is to select all color channels, but un-select the 'alpha' channel in the channels toolbox, then fill with desired color. If you find you do not have an 'alpha' channel, then the mode of the image must not support transparency.
General case, any color to any color:
Click on the "Alpha-lock" icon, which is the small checkerboard icon in the "Lock" line at the top of the Layers list.
Bucket-fill the layer with the new color (black for you), the alpha lock will ensure that pixels keep they current opacity (this means, without any active selection, to use the bucket-fill with the "Fill whole selection" option.
Faster for your specific case (black to white or white to black):
Just use Colors>Invert
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.