04-09-2022, 09:37 PM
Quote:i want to implement an "Alpha" layer blending mode which replaces the target alpha channel with the one of the input layer
A blending mode is, in my opinion, a bad choice. A plug-in, or better, a GEGL operation will do the job.
Since you read C code, you could be able to do it.
Start here to understand how gimp filters are implemented in GEGL: https://gitlab.gnome.org/GNOME/gegl/-/tr...on-gpl3%2B
Ask your questions on the gimp-developer mailing list gimp-developer-list@gnome.org or better on IRC: irc.gimp.org channels #gimp or #gegl