flameshot-org/flameshot

Contrasting text outline, shadow or border

Open

#1,249 创建于 2021年1月21日

在 GitHub 查看
 (21 评论) (12 反应) (0 负责人)C++ (1,916 fork)batch import
EnhancementGood first issue

仓库指标

Star
 (29,897 star)
PR 合并指标
 (平均合并 2天 23小时) (30 天内合并 12 个 PR)

描述

It's very important for me for the text to be clearly visible when added to a screenshot. This is usually easily achieved by using black text with white background or white text with black background - but other colours usually look good with either (except maybe for very dark and very light colours). I know that usually the implementations involve:

  • Creating a shadow
  • Creating a border

I do realise I can put a rectangle under text, but it's ugly and obscures a lot more of the image.

As a humorous reference: :smile: white text with black outline can be read on any color

贡献者指南