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 18:23:52 -0500 [thread overview]
Message-ID: <CAFP+xFLsDOEpnA+DzmDCMRj0DA3Cbuxtnho5gE+BBXRQUkukEg@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1209141837240.4289@qrpragenyvmrq>
[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]
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 TeX. The PDF -> SVG conversion is done with `pdf2svg` which
is available from
http://www.cityinthesky.co.uk/opensource/pdf2svg
and which uses Cairo and Poppler for its conversion. Now in order for my
simplistic filter to function, all SVG's must essentially "look alike"
(i.e., come from the same source). Therefore, uploaded SVG's are converted
to PDF (using Inkscape) and then back to SVG (using `pdf2svg`). The filter
then works with the resulting SVG and converts it back to the uploaded
format using Inkscape.
Troy
[-- Attachment #1.2: Type: text/html, Size: 978 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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-09-14 23:23 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
2012-09-14 22:29 ` Troy Henderson
2012-09-14 22:48 ` Aditya Mahajan
2012-09-14 23:23 ` Troy Henderson [this message]
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+xFLsDOEpnA+DzmDCMRj0DA3Cbuxtnho5gE+BBXRQUkukEg@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).