This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Graphics formats
Dave Pawson <davep@dpawson.co.uk> wrote on Mon, 18 Apr 2005 17:23:54
+0100:
> Did you know that Adobe bought Macromedia?
Is this good news or bad news? More likely good, I guess...
>> I wrote a couple of Java classes for converting SVG <-> EPS based
>> on batik. E-mail me if you're interested.
>
> How do *you* get from SVG to eps? Please?
I guess this is an "E-mail" from someone "interested"...
I've written (rather, adapted) a Java class for use with batik
1.5. You can download it at
http://www.montefiore.ulg.ac.be/~piater/code/SVG2PS.java
Disclaimer: This is code I wrote for my own needs. It works for me,
but it might make your computer explode. Don't blame me. But you can
e-mail me with questions.
I also wanted to add that my home-brew solution for the other
direction (EPS -> SVG) relies on pstoedit to produce Java, and then
batik to produce SVG. I've experimented with several different
multi-step conversions, and this one seemed to yield the best-quality
SVG (though still far from perfect).
Hope this helps,
Justus
--
Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/
Institut Montefiore, B28 Phone: +32-4-366-2279
Université de Liège, Belgium Fax: +32-4-366-2620