flameshot-org/flameshot

Contrasting text outline, shadow or border

Open

#1 249 ouverte le 21 janv. 2021

Voir sur GitHub
 (21 commentaires) (12 réactions) (0 assignés)C++ (1 916 forks)batch import
EnhancementGood first issue

Métriques du dépôt

Stars
 (29 897 stars)
Métriques de merge PR
 (Merge moyen 2j 23h) (12 PRs mergées en 30 j)

Description

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

Guide contributeur