Gimp/app/operations/layer-modes
Elle Stone c03a4b6132 Make luma lighten only, darken only use linear blend mode
Issue #3471 Unexpected results from luma darken only blend mode

Having the blend mode be perceptual results in the unexpected
result that a color with a lower actual XYZ "Y" value - that's
also clearly visibly darker than the underlying layer - can be
considered as "lighter" than a color with a higher "Y" value.

Reviewer's (Jehan) note: this only changes the default's blend space,
but in fact, we should probably even make the blend space immutable for
these 2 layer modes because the algorithm doesn't make sense in
perceptual (see #3471). We are not doing this right now in order to
not break existing XCF files using these modes in perceptual. We'll have
to figure out later how to have an immutable blend space going forward
while allowing the broken blend space but only for existing XCF images.
2024-09-20 01:26:33 +02:00
..
gimp-layer-modes.c Make luma lighten only, darken only use linear blend mode 2024-09-20 01:26:33 +02:00
gimp-layer-modes.h app: fix autotools build. 2020-11-10 12:52:01 +01:00
gimpoperationantierase.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationantierase.h
gimpoperationbehind.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationbehind.h
gimpoperationdissolve.c app: fix global-buffer-overflow in "gimp:dissolve" implementation. 2023-02-16 20:31:41 +01:00
gimpoperationdissolve.h
gimpoperationerase.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationerase.h
gimpoperationlayermode-blend.c app: clean up Luminance blend function 2019-06-10 10:53:00 -04:00
gimpoperationlayermode-blend.h app: add GeglOperation *operation argument to GimpLayerModeBlendFunc 2019-06-09 12:35:45 +02:00
gimpoperationlayermode-composite-sse2.c
gimpoperationlayermode-composite.c
gimpoperationlayermode-composite.h
gimpoperationlayermode.c app: fix "Luma Lighten/Darken only" layer modes. 2020-11-10 17:25:34 +01:00
gimpoperationlayermode.h app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationmerge.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationmerge.h
gimpoperationnormal-sse2.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationnormal-sse4.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationnormal.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationnormal.h
gimpoperationpassthrough.c app: change behavior of REPLACE mode for fully-transparent pixels 2019-02-14 11:04:53 -05:00
gimpoperationpassthrough.h
gimpoperationreplace.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationreplace.h
gimpoperationsplit.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationsplit.h
meson.build meson: Always enable CPU extensions 2021-06-15 21:15:32 +00:00