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

2012-09-16 Thread Henning Hraban Ramm
2012/9/15 Troy Henderson : > 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 conversion) and conv

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.

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 mailto:luigi.sca...@gmail.com>> wrote: On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson mailto: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

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 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' is a bad imitati

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 wi

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 sho

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

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

2012-09-14 Thread pol stra
>Aditya Mahajan 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 >(dark-)coloure

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

2012-09-13 Thread Sietse Brouwer
Aditya Mahajan 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 (dark-)coloured backg

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 o

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

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 th

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 t

[NTG-context] Change color of EPS file.

2012-09-12 Thread pol stra
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? In last resort I can put a white background w