Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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

add comment

1 Answer

up vote 4 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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