Soft Light
This is a softer version of Overlay. Applying pure black or white does not result in pure black or white.
There are a variety of different methods of applying a soft light blend. The formula used by Photoshop has a discontinuity, and other formulas correct it. Photoshop's formula is:
where a is the base layer value and b is the blend value. (Note, this formula is not the official one from Adobe but rather was reverse engineered by http://www.pegtop.net/delphi/articles/blendmodes/softlight.htm. Adobe's equations are not officially documented anywhere, as they are proprietary and are probably legally considered "trade secrets". In fact, the reverse engineered equation for Soft Light is incorrect! I have just tested it and checked and rechecked it in my own software using this reverse engineered algorithm, and it is consistently giving visibly different results than the official Adobe implementation. In case the version of Photoshop makes a difference, the version I have that I used to do the comparison was Photoshop Elements 9.)
Pegtop's formula is smoother and corrects the discontinuity at a = 0.5:
A third formula defined by illusions.hu corrects the discontinuity in a different way, preserving some gamma properties:
The formula specified by recent W3C drafts for SVG and Canvas is mathematically equivalent to the Photoshop formula with a small variation where b≥0.5 and a≤0.25:
where
.
This is also the formula used by Cairo, and in earlier PDF documentation.
Note that this W3C variation is the actual variation used by Photoshop (at least in my version of Photoshop which is Photoshop Elements 9). I determined this by using Visual Basic 6 to implement each of the Soft Light variations listed here on this Wikipedia page, until I found the one that is identical to the one in Photoshop (with only difference being invisibly small pixel value differences of 1 in some cases, which are most likely due to differences in rounding errors between VB6's math and Photoshop's math)
Read more about this topic: Blend Modes, Multiply and Screen
Famous quotes containing the words soft and/or light:
“Soft men tend to be born from soft countries.”
—Herodotus (c. 484424 B.C.)
“Libraries are reservoirs of strength, grace and wit, reminders of order, calm and continuity, lakes of mental energy, neither warm nor cold, light nor dark. The pleasure they give is steady, unorgastic, reliable, deep and long-lasting. In any library in the world, I am at home, unselfconscious, still and absorbed.”
—Germaine Greer (b. 1939)