Post Reply 

invert layer causes transparency

May 2, 2014, 21:51
Post: #1
invert layer causes transparency
Hello.

I'm a fairly new user to Gimp. The only stuff I've done is make selections and fill them with a gradient. I've also had some photoshop experience when I was in school, but most of that is fading.

What I have is 256x256 image on a transparent background. I'm making a logo for use in a game. What I'm trying to do is this http://fc07.deviantart.net/fs47/i/2009/2...enigma.jpg

A super simple logo to make however I have no idea how to do it.
I've made 2 layers. One with text and the other solid black. I merge the 2 and then add a layer mask. I make a selection with the rectangle select tool and when I click on Colors>Invert It turns the entire selection transparent. Like it was just erasing everything. I've tried adjusting the opacity slider at the top right but it just changes the transparency. What am I doing wrong? Can anyone help?
Find all posts by this user
Quote this message in a reply
May 2, 2014, 23:35
Post: #2
RE: invert layer causes transparency
(May 2, 2014 21:51)offroadguy56 Wrote:  Hello.

I'm a fairly new user to Gimp. The only stuff I've done is make selections and fill them with a gradient. I've also had some photoshop experience when I was in school, but most of that is fading.

What I have is 256x256 image on a transparent background. I'm making a logo for use in a game. What I'm trying to do is this http://fc07.deviantart.net/fs47/i/2009/2...enigma.jpg

A super simple logo to make however I have no idea how to do it.
I've made 2 layers. One with text and the other solid black. I merge the 2 and then add a layer mask. I make a selection with the rectangle select tool and when I click on Colors>Invert It turns the entire selection transparent. Like it was just erasing everything. I've tried adjusting the opacity slider at the top right but it just changes the transparency. What am I doing wrong? Can anyone help?
Can you attach a screenshot showing the layers dialog and the selection just prior to the 'colors invert' step. Also Gimp version n.n.n and OS details.
Cheers
Find all posts by this user
Quote this message in a reply
May 3, 2014, 00:00
Post: #3
RE: invert layer causes transparency
Sure.
Gimp 2.8.10 Windows 7 Professional.

here are some screen shots of my process.
http://imgur.com/a/7wkYi
Find all posts by this user
Quote this message in a reply
May 3, 2014, 00:33
Post: #4
RE: invert layer causes transparency
(May 3, 2014 00:00)offroadguy56 Wrote:  Sure.
Gimp 2.8.10 Windows 7 Professional.

here are some screen shots of my process.
http://imgur.com/a/7wkYi
Hi offroadguy56.
The reason you are seeing the transparency is that you are applying the Colors->Invert on the layer mask. Turning your fully opaque (white) mask into a fully transparent (black) mask.

You need to explain what you are trying to achieve.

* Don't forget to Layer->Anchor Layer your floating selections when done with them.
Find all posts by this user
Quote this message in a reply
May 3, 2014, 00:46
Post: #5
RE: invert layer causes transparency
What I was planning to do was select an area with the mask then invert the colors inside the mask. I guess its different than just inverting colors in a layer selection.

Well I figured my own way around it after fiddling around for an hour.
I made the white text on black background. Copied the layer. Then I inverted the copied layer so it's black text on white background. Then I made a layer mask on the new layer. Rotated it and inverted the layer mask. It removed a portion of new layer revealing the original layer underneath. Finally I anchored everything and merged both layers.

Slightly more steps than what I was trying to accomplish but I got there in the end.
But still I would like to know why it was inverting to transparent black instead of just inverting the colors like a regular selection.
Find all posts by this user
Quote this message in a reply
May 3, 2014, 01:10 (This post was last modified: May 3, 2014 01:26 by fluffybunny2.)
Post: #6
RE: invert layer causes transparency
(May 3, 2014 00:46)offroadguy56 Wrote:  ...But still I would like to know why it was inverting to transparent black instead of just inverting the colors like a regular selection.
It would if you applied the Invert Color command to the layer, but as I said you are applying your changes to the layer's mask rather the layer itself.
Anchor your layer first, then of the two small thumbnail images to the right of the layer's name, make sure you click the thumbnail on the left to select the layer instead of the thumbnail on the right which is the mask.

In your example, to avoid the floating selections all together, Select None before starting.

Have a read here and here. This might explain floating selections and the layer mask in more details. Remember, each pixel of the mask can be a value between 0..255 (black..white). This value then determines how much the layers beneath will visible through your layer. In your case where you have no layers beneath, when you set your mask to black with your Colors->Invert, all the corresponding layer's pixels become transparent allowing fully the layers beneath to display.
Find all posts by this user
Quote this message in a reply
May 3, 2014, 01:11
Post: #7
RE: invert layer causes transparency
I see thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Paste layer without merging with other layer stephenboston 1 416 Sep 4, 2018 05:21
Last Post: paynekj
  After floating a layer, how do you return the selection to the whole image? ithortureu 1 214 May 13, 2018 07:15
Last Post: paynekj
  Saving a layer Dalmon 1 377 Apr 26, 2018 15:37
Last Post: paynekj
  How can I resize one layer to fit another? dblj 1 450 Apr 20, 2018 21:15
Last Post: paynekj
  Scaling layer does not scale alpha! WallyZ 1 349 Apr 3, 2018 06:22
Last Post: blighty

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS