GNOME Bugzilla – Bug 775857
[PATCH] New blending modes: Vivid light, Linear light and Pin light
Last modified: 2017-02-02 20:57:04 UTC
Created attachment 341643 [details] [review] Add vivid light, linear light and pin light blending modes About the patch: * I use a different equation for blending/compositing ; it seems to avoid issues related to semi-transparent pixels present in the backdrop (see bug https://bugzilla.gnome.org/show_bug.cgi?id=775653) * Current equations for the 3 blending modes seem to work correctly only with perceptual gamma image * I don't have any "reference" to test if these blending modes give the expected result, so testers feedback are welcome
Thanks for this! What are the specification/paper references for these 3 blending modes? I could find some stuff on the web, but nothing which looked normative. That's hard to review if we don't know what we should check against. :-)
Jehan, you could use google-translated version of http://zhur74.livejournal.com/15544.html :) In a nutshell: Vivid Light burns with Color Burn and dodges using Color Dodge at the same time. Linear Light is 2 x Linear Burn and 2 x Linear Dodge combination respectively. Pin Light is Darken and Lighten combination respectively. There's also a short description at https://helpx.adobe.com/photoshop/using/blending-modes.html.
Before seeing this bug report - but seeing people asking for some of these blend modes on the mailinglist, I added innerloop functions for the new separated compositing/blending infrastructure to do these (and some more) blend modes, innerloops only for now - they are not fully hooked up to the UI yet. commit c9ad09df6195e6ed59f3ece17b055eaed5891e22 Author: Øyvind Kolås <pippin@gimp.org> Date: Sun Jan 22 13:40:20 2017 +0100 app: add a handful more blending innerloops Adding linear burn, vivid light, linear light, pinlight and exclusion formulas as described on http://www.deepskycolors.com/archivo/2010/04/21/formulas-for-Photoshop-blending-modes.html
Comment on attachment 341643 [details] [review] Add vivid light, linear light and pin light blending modes This was done using the new framework, this patch is no longer needed.
The modes are now accessible from the UI.