Mobile app version of vmapp.org
Login or Join
Shelley591

: Can I colorize transparent areas, and make colored areas transparent, in Gimp 2? I created a shape on a transparent background, but I actually want the shape to be transparent and the background

@Shelley591

Posted in: #Gimp

I created a shape on a transparent background, but I actually want the shape to be transparent and the background to be a solid color.

Can this be done?

I don't want to just Select By Color, because that doesn't select the partially-transparent areas, giving the shape rough edges.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley591

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady304

To invert transparency from background to foreground I usually take the following steps shown with the source example below:




Make the alpha-channel a selection (Layer > Transparency > Alpha to Selection)





Invert the selection Ctrl + I to select background
Fill the background with desired color/pattern
Invert the selection Ctrl + I to select foreground
Remove the foreground (Del)




We can see that semi-transparency for anti-aliasing will be nicely preserved:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme