flameshot-org/flameshot

Contrasting text outline, shadow or border

Open

#1249 aperta il 21 gen 2021

Vedi su GitHub
 (21 commenti) (12 reazioni) (0 assegnatari)C++ (1916 fork)batch import
EnhancementGood first issue

Metriche repository

Star
 (29.897 star)
Metriche merge PR
 (Merge medio 2g 23h) (12 PR mergiate in 30 g)

Descrizione

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

Guida contributor