From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78270 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Change color of EPS file. Date: Thu, 13 Sep 2012 12:07:31 -0400 (EDT) Message-ID: References: <5051BED5.2050809@wxs.nl>, Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-692098928-1347552452=:12131" X-Trace: ger.gmane.org 1347552365 13668 80.91.229.3 (13 Sep 2012 16:06:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 16:06:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 18:06:08 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCBvT-00043Y-PD for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2012 18:05:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DF77101E7; Thu, 13 Sep 2012 18:05:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SwVkdijBOWLH; Thu, 13 Sep 2012 18:05:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 11FE7101EF; Thu, 13 Sep 2012 18:05:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 104EB101EF for ; Thu, 13 Sep 2012 18:05:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LCP0CpccAVds for ; Thu, 13 Sep 2012 18:05:49 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 7EBB2101E7 for ; Thu, 13 Sep 2012 18:05:49 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8DG5kjA022105 for ; Thu, 13 Sep 2012 18:05:48 +0200 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hackers.mr.itd.umich.edu ID 50520458.EDCB3.4737 ; Authuser adityam; 13 Sep 2012 12:05:45 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08HWE5KUC - f4f5ae8506d8 - 20120913 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78270 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-692098928-1347552452=:12131 Content-Type: TEXT/PLAIN; charset=Windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE 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=3Den >> * Open the EPS in Inkscape >> >> Working white-on-white sucks, so >> * File > Document properties > click to the right of 'Background:', >> below the Default units dropdown >> * Choose something nice and pastel-coloured with alpha (opacity) set >> to non-zero. >> >> * Select the object >> * Object > Ungroup (Ctrl+Shift+G) to make Inkscape see the individual >> paths, instead of a single EPS object >> The single rectangle selecting the object has now turned into a heap >> of rectangles. >> * With the colours at the bottom, set the fill to be red with click >> and/or set the stroke to be red with Shift+click >> >> This will probably not have the desired effect because some of the >> constituent paths will have black fill+transparent stroke, and with >> others it will be the other way round. So you'll have to set >> fill/stroke individually. >> >> * Select paths in turn, and set their fill/stroke as appropriate. >> Their respective values are shown in the bottom left. If you select >> multiple paths and their fill/stroke is different, it will be shown as >> "mixed"; when multiple paths' fills/strokes are not mixed they are >> identical, and you can change them all at once. >> >> (Depending on ... file-related things ... you may need to use Path > >> Object to Path at some point, and possibly Path > Break Apart. But >> probably not.) >> >> Good luck! >> >> --Sietse > > Thanks Sietse > > I already tried the inskape way, but it=92s too much work if you have man= y files to proced. > But your answer gave me the idea to use imegemagick, so I found this tric= k: > convert -background none -density 300 -negate a1.EPS bbb.png > I do not know why, but the same command with an EPS output gives me a whi= te background so I had use a png file. > The result is good enough for me. If you want to use eps images, why not just use a white background at=20 ConTeXt end (as you had stated in your first message). Aditya --0-692098928-1347552452=:12131 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0-692098928-1347552452=:12131--