Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I have one layer with some black pixels in the middle and a transparent background.

If I add an opaque white background under it, merge both, and then click "Antialias" from the "Filters" menu, it correctly generates gray pixels where appropriate. However, I intend to use this image on top of a dynamic background, so I can't use anti-alias against a specific color, but if I don't add the background opaque layer and just use the Antialias filter, nothing happens. My expectation was that semi-transparent pixels would be generated, so that it would become anti-aliased with different backgrounds.

Is there a way to achieve this or am I trying to do something wrong?

share|improve this question
1  
Could you provide screenshots of what you're trying to do? –  JohnB May 5 '13 at 15:09
add comment

1 Answer

up vote 1 down vote accepted

I still haven't tested this, but I think I figured out a workaround. In troubleshooting another issue, I came to know the option "Color to Alpha", which seems exactly what's needed here. I think I can get Antialiasing like usual against one specific color and then use Color to Alpha to turn that color into different degrees of transparency. This would work fine on simple layers with very few colors, and it would probably be problematic in more busy patterns, but it fits my own needs at least.

share|improve this answer
    
Good thinking, Smig. why didn't I think of this? Anyway, thanks for a very old problem of mine. Maybe someone should ask gimp developers to fix this (or improve the filter)? –  R-U-Bn Apr 9 at 17:54
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.