
With all my years of pixeling, I've never came across a tool with this ability that is geared towards pixel artists.
PIXEL TOOLS TRANSPARENT CODE
In my free time I like to code video games, but recently I've been developing this pixel-art editor out of my love for the medium and all the amazing artists that work with it. Some of the old behavior can be restored using the "Standard/Legacy" layer mode selector (small selector at the end of the Layer mode selector) but not how the mask is handled.Allow me to introduce myself, my name is Alex Hanson-White, and I primarily create pixel-art for a living. In previous versions, Gimp worked directly on the gamma-corrected values (because JPG/PNG are natively gamma-corrected) but this creates nasty problems (for instances, color gradients will get dark in the middle). (*) this stems from the big change in Gimp 2.10 where computations are done on "linear light" values.

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.
PIXEL TOOLS TRANSPARENT HOW TO
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
