>What kind of blend mode do you intend to use in the application that gets your work next?
I wanted to say “Normal” but then I thought: “Why would I?” Indeed, using Add blending mode accomplishes everything I wanted from the transparent BG.
@Dave LaRonde
@Jeff Kay
Thanks!
Regarding the second question, I want to lay out what I’ve learned so far.
The three main Glow parameters are the following:
Glow Radius pretty much creates layer’s Gaussian blur and adds it to the layer. This is the only parameter which changes alpha of surrounding pixels.
Glow Intensity (GI) and Glow Threshold (GT) affect the brightness of surrounding pixels (namely the pixels from Glow radius). Now, the exact formula is unknown to me and I only tried all-white shapes, but the brightness coefficient seems to be
GI*(GT/100) + GI*16*(1-GT/100).
It further changes across the alpha gradient, so for example, for GI=3 and GT=0% (with expected coeff of 48) for different pixels it can be in some neighborhood of 48 like in [43, 53] range.
I.e. if the glow’s original was some white shape of [1,1,1] RGB color, the color of glow pixels around it will be smth like [48, 48, 48]. That is with 32 bpc color depth, of cause.
Now, these simple observations can answer my previous questions:
“Glow effect needs a background to glow”, because however bright the glow pixels are, their alphas are still very low and they don’t show up. Then a background is added. I will speak of alpha=1 black background and Normal blend, because it simplifies the calculation a lot.
So, alpha=1 black background is is added and normal-blended with the Glow effect:
The resulting alpha will be 1.
The resulting color will be calculated as glowPixelAlpha*glowPixelColor.
Now the brightness kicks in as glowPixelColor is something like that [48, 48, 48]. It can override even (very) low values of glow pixels’ alpha’s and give us a bright glow we expected.
“This works with 32 bpc color depth, and not with 16 and 8 bpc”, because only 32 bpc allow RGB values go beyond 1. At 8 and 16 bps all those super bright [2, 2, 2], [48, 48, 48] etc pixels will be just [1, 1, 1]. When background is added they get alpha=1 and color=(their previous alpha) i.e. the pics w/ and w/o background will be just the same.
I feel a bit more confident, knowing the principles behind Glow. Maybe someone else will also find it useful.