Am 25.05.2009 um 21:05 schrieb Vyatcheslav Yatskovsky:

Hello,

I just thinkig... Is there a way to apply an effect to inserted images? Say, I need to make a shadow around all of screenshots included, and it is too laborous to apply the shadow to them in an editor just in order to have screenshots changed in next document version. Is think there is a lot of circumstances when some automatic effect can be needed.

\startuseMPgraphic{shadow}
fill OverlayBox shifted (5pt,-5pt) withcolor .7white ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[shadow][\useMPgraphic{shadow}]

\starttext

\externalfigure[mill][background=shadow]

\blank

\setupexternalfigures[background=shadow]

\externalfigure[hacker]

\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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to