Advertisement

Gimp question: blurring and alpha value

Started by April 21, 2005 08:19 AM
3 comments, last by mike25025 19 years, 9 months ago
Is there a way for gimp to only get values from the selected area when doing blurring? It is really annoying when the outside selection is factored in with the blur and I get weird looking boarders. Also, is there a way to make the alpha values of a particular selection 100% to knock out semi-transparency?
-----------------------------Download my real time 3D RPG.
Quote:
Is there a way for gimp to only get values from the selected area when doing blurring? It is really annoying when the outside selection is factored in with the blur and I get weird looking boarders.
I was unable to reproduce this problem. Ive seen it before but I cant remember how it happend. Can you explane what you are doing?

Quote:
Also, is there a way to make the alpha values of a particular selection 100% to knock out semi-transparency?
Yes. Select the area you want opaque. Then switch to the channels window and disable red green and blue (click on them so that there are not highlighted). Then drag a color onto the image. The color will fill the selection and set the alpha values to 1 but not change the color because you disabled the color channels.
Advertisement
Alright thanks. If you want to recreate the problem, just create a new transparent layer, paint part of it, select the painted area and blur it 100 times. The alpha component of the non selected area is also blended into the part you blurred.
-----------------------------Download my real time 3D RPG.
There's also the feature 'transparency-treshold Alpha' . Very handy if u want sharp Alpha transitions.
I think Ive found a solution to your problem.

1. Duplicate the layer you want to blur.
2. Select the area you want to blur.
3. Invert the selection.
4. Drag the border color onto the image. (Or smudge out from the image to keep the same border color)
5. Invert the selection again.
6. Apply the blur.
7. Copy.
8. Delete the new layer.
9. Erase the selection on the original layer.
10. Paste and anchor the copyed area.

This topic is closed to new replies.

Advertisement