ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* image with rounded corners
@ 2022-08-12  8:57 Henning Hraban Ramm via ntg-context
  2022-08-12 11:10 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-08-12  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-12 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12  8:57 image with rounded corners Henning Hraban Ramm via ntg-context
2022-08-12 11:10 ` Wolfgang Schuster via ntg-context
2022-08-12 14:55   ` Henning Hraban Ramm via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).