Re: [NTG-context] Change color of EPS file.

2012-09-16 Thread Henning Hraban Ramm
2012/9/15 Troy Henderson thend...@gmail.com: Utilities are available in abundance which can transform raster graphics from color to grayscale, but until I created this yesterday, I have never seen a utility that keeps the graphic in vector format (i.e., never rasterizes it throughout the

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Rogers, Michael K
On Sep 15, 2012, at 1:36 AM, luigi scarso luigi.sca...@gmail.commailto:luigi.sca...@gmail.com wrote: On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson thend...@gmail.commailto:thend...@gmail.com wrote: and which uses Cairo and Poppler for its conversion. Now in order for my simplistic filter

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Troy Henderson
Whether the filter is simple or simplistic, it is odd that such a filter has not been abundantly available before. I often wondered years ago when I first started to understand the difference between raster and vector graphics why something so simple (or simplistic) could not be easily done. It

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread pol stra
Aditya Mahajan adit...@umich.edu wrote: If you want to use eps images, why not just use a white background at ConTeXt end (as you had stated in your first message I think you misread: Pol wants the EPS to be white-on-transparent, instead of black-on-transparent, so that he can use it on a

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
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

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background should transform it to a white/black graphic on a

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Aditya Mahajan
On Fri, 14 Sep 2012, Troy Henderson wrote: I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
For those that care, here is basically how the service works. The filter is applied to an SVG, and the uploaded graphic is converted to SVG using the following process: EPS - PDF - SVG PDF - SVG SVG - PDF - SVG where the EPS - PDF conversion is done with the standard `epstopdf` included with

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread luigi scarso
On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson thend...@gmail.com wrote: and which uses Cairo and Poppler for its conversion. Now in order for my simplistic filter to function, Why 'simplistic' and not 'simple' ? I always thought that its meaning is negative (something like 'simplistic'

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Hans Hagen
On 12-9-2012 19:10, pol stra wrote: Hello, I have a EPS file wich contains black lines and no background. The background of my presentation is colored, so I would like to put this figure in white. I tried a \startcolor … \stopcolor environement without succed. Is there a way to do so? edit

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Sietse Brouwer
Hello Pol stra, Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape: http://inkscape.org/download/?lang=en * Open the EPS in Inkscape Working white-on-white sucks, so * File Document properties click to the right of 'Background:', below the

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread pol stra
From: sbbrou...@gmail.com Date: Thu, 13 Sep 2012 13:45:20 +0200 Subject: Re: [NTG-context] Change color of EPS file. To: ntg-context@ntg.nl CC: r...@hotmail.fr Hello Pol stra, Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Aditya Mahajan
On Thu, 13 Sep 2012, pol stra wrote: Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape: http://inkscape.org/download/?lang=en * Open the EPS in Inkscape Working white-on-white sucks, so * File Document properties click to the right of

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Sietse Brouwer
Aditya Mahajan adit...@umich.edu wrote: If you want to use eps images, why not just use a white background at ConTeXt end (as you had stated in your first message I think you misread: Pol wants the EPS to be white-on-transparent, instead of black-on-transparent, so that he can use it on a