[NTG-context] image with rounded corners

Henning Hraban Ramm texml at fiee.net
Fri Aug 12 10:57:26 CEST 2022


Hi, can ConTeXt make rounded image corners?
Both of my approaches don’t work:


\externalfigure[mill][
   width=3cm,
   frame=on,
   corner=round,radius=1cm,
   backgroundcorner=round,backgroundradius=1cm,
]

\defineoverlay[Mill][{%
   \externalfigure[mill][width=\overlaywidth]
}]
\framed[background=Mill,width=3cm,height=4cm,
	corner=round,radius=1cm,
	backgroundcorner=round,backgroundradius=1cm,
	offset=overlay]{}

Hraban


More information about the ntg-context mailing list