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:
“Year after year beheld the silent toil
That spread his lustrous coil;
Still as the spiral grew,
He left the past years dwelling for the new,
Stole with soft step its shining archway through,
Built up its idle door,
Stretched in his last-found home, and knew the old no more.”
—Oliver Wendell Holmes, Sr. (18091894)
“The press is no substitute for institutions. It is like the beam of a searchlight that moves restlessly about, bringing one episode and then another out of darkness into vision. Men cannot do the work of the world by this light alone. They cannot govern society by episodes, incidents, and eruptions. It is only when they work by a steady light of their own, that the press, when it is turned upon them, reveals a situation intelligible enough for a popular decision.”
—Walter Lippmann (18891974)