ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt color to text
@ 2012-09-03 16:59 Peter Rolf
  2012-09-03 18:36 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2012-09-03 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

for a batch command (ImageMagick) I need to convert ConTeXt colors to a
text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color
models cmyk and gray).
What is the best way to get (read only) access to the color channels of
a defined color?


Peter
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2012-09-04  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 16:59 ConTeXt color to text Peter Rolf
2012-09-03 18:36 ` Hans Hagen
2012-09-04  9:18   ` Peter Rolf

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