Hi,

Yes, I can confirm batik-rasterizer, despite the name, made nice vector-based PDF from SVG. Thanks, Nick.

So that's two options now, Inkscape and Batik.

Enough noise from me on this, I think.

Yours,
Christian

On 11/2/10 3:20 PM, Nick Dokos wrote:
Christian Moe<m...@christianmoe.com>  wrote:

Hi,

the librsvg man page says PNG and JPEG raster formats only.

CM

On 11/2/10 11:40 AM, Rainer M Krug wrote:


On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe<m...@christianmoe.com
<mailto:m...@christianmoe.com>>  wrote:

     Re: converting SVG


Have you looked at rsvg  (http://librsvg.sourceforge.net/)?

I am not sure if it uses vector for pdf, but it might be worth a try?

Cheers,

Rainer


     1. Prince (http://www.princexml.com) does SVG to PDF as vector
     graphics from the command line, very nicely. Too bad it's proprietary.

     e.g.

     : prince drawing.svg drawing.pdf

     2. Ask Inkscape -- it's free software; unfortunately, the result
     is rasterized.

     e.g.

     : inkscape --without-gui --export-text-to-path
     --export-eps=drawing.eps drawing.svg

      > From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and
     Prince a 20 KB PDF.

     Cheers,
     Christian



     On 10/29/10 4:19 PM, Eric S Fraga wrote:

         Łukasz Stelmach<lukasz.stelm...@iem.pw.edu.pl
         <mailto:lukasz.stelm...@iem.pw.edu.pl>>   writes:

             Eric S Fraga<ucec...@ucl.ac.uk<mailto:ucec...@ucl.ac.uk>>
               writes:

                 ImageMagick [1] will convert from/to SVG to/from many
                 formats including
                 EPS.  I've not tried any conversions with SVG, mind
                 you, so this is
                 based on the documentation.


             I'll check it, but I'm afraid it does render SVG as bitmap
             first,
             and then "converts", or rather encapsulates, it to
             EPS/PDF. ImageMagick
             is a bitmap manipulation tool after all.


         Very true.  For presentations, this may not be that much of an
         issue
         (given the resolution of many data projectors)... but it's a
         very valid
         point.

         Do let us know if you find a vector based converter.

         Thanks,
         eric




The batik svg rasteriser page

         http://xmlgraphics.apache.org/batik/tools/rasterizer.html

says:

         This page describes the features of the SVG Rasterizer utility
         that comes with the Batik distribution. The SVG Rasterizer is a
         utility that can convert SVG files to a raster format. The tool
         can convert individual files or sets of files, making it easy to
         convert entire directories of SVG files. The provided formats
         are JPEG, PNG and TIFF, however the design allows new formats to
         be added easily. In addition, the rasterizer can (despite its
         name) transcode to PDF.

I haven't used it at all, but that last sentence is suggestive. Maybe it
fits the bill?

HTH,
Nick





--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to