|
From: | Christian Moe |
Subject: | Re: [Orgmode] Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs |
Date: | Tue, 02 Nov 2010 21:05:50 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
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<address@hidden> 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<address@hidden <mailto:address@hidden>> 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<address@hidden <mailto:address@hidden>> writes: Eric S Fraga<address@hidden<mailto:address@hidden>> 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, ericThe 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: address@hidden Website: http://christianmoe.com
[Prev in Thread] | Current Thread | [Next in Thread] |