在模糊图像上使文本更明显

K. *_*ski 3 c# xaml windows-10 uwp windows-10-universal

这就是我制作模糊的方式:

await BlurBackround.Blur(value: 7, duration: 10, delay: 0).StartAsync();
Run Code Online (Sandbox Code Playgroud)

这是它的样子: 在此输入图像描述

问题出在图像的白色元素上.在模糊之前使图像更暗或者使文字字母为黑色边框是什么方法?

Ale*_*nea 8

确保文本在图像上可见的常见模式是在文本和图像组件之间应用0.2-0.3不透明度的纯黑色层.