I have an .xcf image and I like to change the color of some objects within it. The objects are mostly one solid color with the edges feathered into transparency. I.e. all pixels in the object are white with most pixels fully opaque and some with transparency.

I've tried to change the objects' color using the color select tool + bucket fill but this destroys the feathering. Is there a way to get the gimp to change just the color but preserve the transparency?

The actual objects that I have are multiple bits of text all at different sizes and rotations that I have merged into one layer. So it is no use re-adding the feathering as this messes up the text quite noticeably.

Thanks

link|improve this question
please post this on superuser, not SO. – David Titarenco Jun 14 '11 at 17:41
@spiderplant0 - Questions on StackOverflow tend to be programming and software specific; they usually have to do directly with code. Your question might be closed on account of being off topic. Perhaps you could ask it on another of the Stack Exchange sites. – LeguRi Jun 14 '11 at 17:41
feedback

migrated from stackoverflow.com Jun 14 '11 at 18:40

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

In order to preserve the opacity/transparency of the layer while working, you can tick the "Lock" checkbox in the layers dialog (see here).

Then, create a selection of the objects exactly like you suggested, and fill it with the bucket tool. The alpha of the layer will remain unmodified.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.