Command/layeredtext

From ConTeXt wiki

Introduction

The \layeredtext command is a convenient way to position text on an image.

Example

\layeredtext[
  corner={right,bottom},
  location={left,top}
][
  background=color,
  backgroundcolor=white,
  offset=0pt
]
{Text}
{\externalfigure[cow][width=3cm]}