flameshot-org/flameshot

Contrasting text outline, shadow or border

Open

#1,249 opened on 2021年1月21日

GitHub で見る
 (21 comments) (12 reactions) (0 assignees)C++ (1,916 forks)batch import
EnhancementGood first issue

Repository metrics

Stars
 (29,897 stars)
PR merge metrics
 (平均マージ 2d 23h) (30d で 12 merged PRs)

説明

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

コントリビューターガイド