From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Applying effects to figures
Date: Mon, 25 May 2009 23:11:40 +0200 [thread overview]
Message-ID: <85A26948-C7B9-4671-9BC3-45DB6ECD163D@gmail.com> (raw)
In-Reply-To: <4A1AEC15.8070704@gmail.com>
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
___________________________________________________________________________________
prev parent reply other threads:[~2009-05-25 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.969.1243276544.3589.ntg-context@ntg.nl>
2009-05-25 19:05 ` Vyatcheslav Yatskovsky
2009-05-25 19:38 ` Peter Rolf
2009-05-25 19:42 ` Henning Hraban Ramm
2009-05-25 20:47 ` Peter Münster
2009-05-25 21:11 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85A26948-C7B9-4671-9BC3-45DB6ECD163D@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).