ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* colorizing pictures
@ 2019-03-18 18:45 Henning Hraban Ramm
  2019-03-19 12:23 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2019-03-18 18:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]

\externalfigure has a "color" parameter. It used to be possible to colorize greyscale pictures with that, but it doesn’t work any more:

%%%
\setupcolors[state=start]
\setupexternalfigures[
    location={local,global,default},
]

\starttext

\externalfigure[img/minidodo_g][width=.3\textwidth,color=red] % greyscale
\externalfigure[img/minidodo_b][width=.3\textwidth,color=green] % bitmap
\externalfigure[cow][width=.3\textwidth,color=blue] % vector

\stoptext
%%%


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD


[-- Attachment #1.2.1: Type: text/html, Size: 1384 bytes --]

[-- Attachment #1.2.2: minidodo_b.png --]
[-- Type: image/png, Size: 8188 bytes --]

[-- Attachment #1.2.3: minidodo_g.png --]
[-- Type: image/png, Size: 48709 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2019-03-19 22:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18 18:45 colorizing pictures Henning Hraban Ramm
2019-03-19 12:23 ` Hans Hagen
2019-03-19 15:23   ` Henning Hraban Ramm
2019-03-19 15:34     ` Hans Hagen
2019-03-19 17:54       ` Henning Hraban Ramm
2019-03-19 22:23         ` Hans Hagen

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).