ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Troy Henderson <thenders@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Change color of EPS file.
Date: Fri, 14 Sep 2012 09:34:40 -0500	[thread overview]
Message-ID: <CAFP+xFLdhwyu6JztxJJvOMA5v2Zr0jk+1QOZbQHkJJMuXxM8kQ@mail.gmail.com> (raw)
In-Reply-To: <BAY002-W118F3C60E55A11589F66F88B1900@phx.gbl>


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

I tested this on a black-on-transparent EPS that was created via MetaPost,
and it seems to work fine.  If you are not using Linux (or Unix or Mac OS
X), let me know and I can probably put together a quick HTML page to do
this on my server.

> cat foo.eps | sed -e "s/0 0 0 setrgbcolor/1 1 1 setrgbcolor/g" > bar.eps

It simply translates the (0,0,0) triplet (which is black) to the (1,1,1)
triplet (which is white).  This is very simplistic and may not do all that
you want.

Troy Henderson

[-- Attachment #1.2: Type: text/html, Size: 534 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-09-14 14:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.62.1347553130.2084.ntg-context@ntg.nl>
2012-09-14 14:22 ` pol stra
2012-09-14 14:34   ` Troy Henderson [this message]
2012-09-14 22:29     ` Troy Henderson
2012-09-14 22:48       ` Aditya Mahajan
2012-09-14 23:23         ` Troy Henderson
2012-09-15  5:36           ` luigi scarso
2012-09-15 12:22             ` Rogers, Michael K
2012-09-15 13:24               ` Troy Henderson
2012-09-16  8:03                 ` Henning Hraban Ramm
2012-09-12 17:10 pol stra
2012-09-13 11:09 ` Hans Hagen
2012-09-13 11:45   ` Sietse Brouwer
2012-09-13 14:24     ` pol stra
2012-09-13 16:07       ` Aditya Mahajan
2012-09-13 16:18         ` Sietse Brouwer

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=CAFP+xFLdhwyu6JztxJJvOMA5v2Zr0jk+1QOZbQHkJJMuXxM8kQ@mail.gmail.com \
    --to=thenders@gmail.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).