ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: pol stra <ryzz@hotmail.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Re: ntg-context Digest, Vol 99, Issue 40
Date: Fri, 14 Sep 2012 16:57:21 +0200	[thread overview]
Message-ID: <BAY002-W16027BBEEADAFCB00AF4713B1900@phx.gbl> (raw)
In-Reply-To: <mailman.75.1347633284.2084.ntg-context@ntg.nl>


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


Troy Henderson said:

>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.
Thanks for the invitation. Fortunatly I’m using GNU/Linux.


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

Unfortunatly there is no such a sequence in my file:

grep setrgbcolor a1.EPS 
/setcmykcolor{1 sub 4 1 roll 3{3 index add neg dup 0 lt{pop 0}if 3 1 roll}repeat setrgbcolor pop}wd
/sw/setlinewidth ld/scap/setlinecap ld/sj/setlinejoin ld/sm/setmiterlimit ld/sd/setdash ld/rgb/setrgbcolor ld/crgb/currentrgbcolor ld/cmyk/setcmykcolor ld/gs/gsave ld/gr/grestore ld

But thank you for gave a try.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1275 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:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.75.1347633284.2084.ntg-context@ntg.nl>
2012-09-14 14:57 ` pol stra [this message]
2012-09-14 16:58   ` Troy Henderson
2012-09-14 22:33     ` Troy Henderson

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=BAY002-W16027BBEEADAFCB00AF4713B1900@phx.gbl \
    --to=ryzz@hotmail.fr \
    --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).