Is layer Composite Space the wrong way round in GIMP? - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Is layer Composite Space the wrong way round in GIMP? (/Thread-Is-layer-Composite-Space-the-wrong-way-round-in-GIMP) |
Is layer Composite Space the wrong way round in GIMP? - jez9999 - 11-14-2024 I've been looking into the GIMP Layers tab's "Composite Space" option, and I'm rather confused by it. Given a background of white pixels and a foreground of black pixels at 50% opacity, I'd expect the RGB linear colour space to give me sample merged pixels of 128,128,128 because that's about 50% of 255,255,255. However, with RGB (linear) selected I actually get pixels of 188,188,188 - significantly lighter. [attachment=12600] When I select RGB (perceptual), though, I actually get the result I'd have expected from the linear model; pixels are darker at 128,128,128 - half way between white and black. [attachment=12601] Is this a bug with GIMP's options here being the wrong way round, or am I misunderstanding something? RE: Is layer Composite Space the wrong way round in GIMP? - Ofnuts - 11-15-2024 (188,188,188) is actually the gray that is half as bright as white (ie, equivalent to a dense checkerboard pattern seen from afar). In other words, you aren't taking in account the gamma encoding. RE: Is layer Composite Space the wrong way round in GIMP? - jez9999 - 11-15-2024 (Yesterday, 12:16 AM)Ofnuts Wrote: (188,188,188) is actually the gray that is half as bright as white (ie, equivalent to a dense checkerboard pattern seen from afar). The trouble is, I'm exporting an alpha layer to a PNG and then applying that layer on top of another layer in a different piece of software (Imagesharp). That software appears to do the style of compositing (linear? perceptual?) that results in a 128,128,128 pixel, so I get a different image from that (darker) than from GIMP when I want to achieve the same image. Is there a way I can get GIMP to output the alpha values such that when the other software blends the layer with a background layer it will result in the same output as GIMP? RE: Is layer Composite Space the wrong way round in GIMP? - Ofnuts - 11-15-2024 (Yesterday, 01:16 AM)jez9999 Wrote:(Yesterday, 12:16 AM)Ofnuts Wrote: (188,188,188) is actually the gray that is half as bright as white (ie, equivalent to a dense checkerboard pattern seen from afar). Try using the "legacy" blend modes (ie Normal(l)) [attachment=12603]
RE: Is layer Composite Space the wrong way round in GIMP? - jez9999 - 11-15-2024 (Yesterday, 09:39 AM)Ofnuts Wrote:(Yesterday, 01:16 AM)jez9999 Wrote:(Yesterday, 12:16 AM)Ofnuts Wrote: (188,188,188) is actually the gray that is half as bright as white (ie, equivalent to a dense checkerboard pattern seen from afar). Yeah, I tried that. Trouble is, I already have pixels in normal mode that I want to keep the same colour and switching to legacy darkens them. I need to switch to legacy whilst keeping the colours the same. |