* Re: Applying effects to figures
2009-05-25 19:05 ` Applying effects to figures Vyatcheslav Yatskovsky
@ 2009-05-25 19:38 ` Peter Rolf
2009-05-25 19:42 ` Henning Hraban Ramm
2009-05-25 21:11 ` Wolfgang Schuster
2 siblings, 0 replies; 5+ messages in thread
From: Peter Rolf @ 2009-05-25 19:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Vyatcheslav Yatskovsky schrieb:
> Hello,
>
> I just thinkig... Is there a way to apply an effect to inserted images?
sure, but...
> 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.
>
you should ask yourself, if there is not a simpler way to do so. see
http://www.imagemagick.org/Usage/convolve/#shadow_montage
best wishes, peter
> Best,
> Vyatcheslav
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Applying effects to figures
2009-05-25 19:05 ` Applying effects to figures 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
2 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2009-05-25 19:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 2009-05-25 um 21:05 schrieb Vyatcheslav Yatskovsky:
> 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.
ImageMagick does support such effects; probably you could update and
enhance or at least get inspiration from the degrade module:
http://modules.contextgarden.net/t-degrade
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Applying effects to figures
2009-05-25 19:05 ` Applying effects to figures Vyatcheslav Yatskovsky
2009-05-25 19:38 ` Peter Rolf
2009-05-25 19:42 ` Henning Hraban Ramm
@ 2009-05-25 21:11 ` Wolfgang Schuster
2 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2009-05-25 21:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread