Re: [NTG-context] Watermark is behind \externalfigure

2019-12-27 Thread Wolfgang Schuster

Jon Wong schrieb am 27.12.2019 um 04:13:

Any way to put the watermark in front?


You can use the foreground to flush the content in a frame and place 
then your layer on top of it.



\definecolor [Watermark] [s=1,a=1,t=0.5]

% \defineoverlay
%   [watermark]
% 
[{\backgroundimage{1}{\overlaywidth}{\overlayheight}{\color[Watermark]{\CONTEXT}}}]


\defineoverlay
  [watermark]
  [{\scale[factor=fit]{\color[Watermark]{\CONTEXT}}}]

\setupexternalfigure[location=default]

\starttext
\externalfigure[mill][background={foreground,watermark}]
\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Watermark is behind \externalfigure

2019-12-26 Thread Jon Wong
Any way to put the watermark in front?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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