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 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationbehind.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationbehind.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationdissolve.c app: fix global-buffer-overflow in "gimp:dissolve" implementation. 2023-02-16 20:31:41 +01:00
gimpoperationdissolve.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationerase.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationerase.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
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 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationlayermode-composite.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationlayermode-composite.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
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 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
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 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationpassthrough.c app: change behavior of REPLACE mode for fully-transparent pixels 2019-02-14 11:04:53 -05:00
gimpoperationpassthrough.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationreplace.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationreplace.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoperationsplit.c app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:54:16 +02:00
gimpoperationsplit.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build meson: Always enable CPU extensions 2021-06-15 21:15:32 +00:00