![]() ![]() Use the Pointer dialog (with deselected Sample merged) to check the mask value.Layer > Mask > Add layer mask and Transfer alpha channel.Edit > Copy visible, File > Create > From clipboard.use the opacity slider to set it to the require opacity. ![]() If you don't want to compute this, you can obtain it this way: And you can check that despite this value in the mask, if you export to PNG, the PNG will indeed have Alpha=.5. So if you want a half-transparent pixel the mask value is In other words, the true alpha is mask^2.2. Now, about your problem: since Gimp 2.10, the layer mask is gamma-corrected(*). Quick answer: best solution is to create a 1-pixel layer, set its opacity to 50% using the slider at the top of the Layers list, and export. That's gotta be a bug?Īt least I can keep adjusting until I figure out the magic opacity to not change my dang alpha. Set it to 100%, set r,g,b,a in both from and to points, reclicked a point, hit ENTER to applyĪnybody know how to file a bug. Then I noticed opacity was at 50% for the gradient tool. Then had to click on one of the points and THEN hit ENTER to apply it (I'm def blaming the devs on unusability here) I put in my exact r,g,b,a values into both the from and the to point and picked linear gradient. Thanks for any help you can throw my way.ĮDIT - given that the gradient tool DOES have alpha values you can pick in the from and to point, I figured it should work. Or am i dumb (a veryyyy real possibility) Is gimp just this hard to use (so many settings with bad defaults) It looks ok, but when I apply the layer, or look at the tool result with the color picker tool, the alpha is not what I tried to get. Sometimes too low, sometimes too high, or 0 or 255 but can't get 128 to save my life. I just can NOT get a pixel with alpha of 128.Įverything I try gives me a weird alpha value. I know about edit layer mask / show layer mask / apply layer mask Tried the range tool and other tools with add layer mask. I have played with "add layer mask", setting opacity on various tools, I want a one pixel png image with r=102 g=127 b=128 a=128 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |